How To Export Game To Linux And Mac Unity

Unity is the most widely-used game creation platform in the world – 50% of all mobile games are made with it, 60% of Augmented Reality & Virtual Reality content is powered by Unity, and 'Unity developer' is #7 on the list of fastest-growing jobs in a recent LinkedIn U.S. Emerging Jobs report. PC, Mac & Linux Standalone build settings The PC, Mac & Linux Standalone build settings contain options you can use to set up and begin the build process for your application on these platforms. It contains settings to create development builds A development build includes debug symbols and enables the Profiler.

  1. How To Export Game To Linux And Mac Unity Version
  2. How To Export Game To Linux And Mac Unity Commands
  3. How To Export Game To Linux And Mac Unity Download
  4. How To Export Game To Linux And Mac Unity Pc

One of Unity’s best features is its flexible export system– a game you develop within the Unity Editor may be exported to a standard Windows, Mac, or Linux executable, or to a mobile iOS or Android Device, or even to the Web!

This tutorial will show you how to export your game for the web, and how to host the game online via your own personal UMich AFS space.

Creating the Web Build

First, locate the “Build Settings” window under File->Build Settings…

Make sure that your one-and-only scene is included in the build by clicking “Add Open Scene”. Ask yourself– is there a reason developers would create a scene without wanting it to ship in a build?

Switch your “Target Platform” to WebGL by clicking on “WebGL”, then clicking the “Switch Platform” button.

Begin the build process by clicking “Build”.

If you have yet to build in a project, Unity will ask where you want the final build to be placed. Create a new folder, titled “WebBuild”, and select it in your FileSystem dialog.

Unity will now begin the process of exporting your game. This process may take a few minutes as several interesting steps are involved–

  • Your scripts and components, currently in the form of an “Intermediate Language”, is converted to C++ via the IL2CPP Transpiler.
  • That C++ code is converted to WebAssembly Javascript code, which is compatible with browsers.

Placing The Web-Build Onto A Server

Linux

In order for players to reach the game in their web browsers, the files exported into the “WebBuild” folder must be placed somewhere.

How To Export Game To Linux And Mac Unity Version

Locate your WebBuild folder and convert it into a .zip file for upload.

Login to mfile.umich.edu. This webapp allows you to organize and upload things to your AFS space. (Note: If you do not have access to mfile, or your AFS space no longer properly hosts web content, you will need to host your game at another location, and provide the URL in a comment or README in your submission. I recommend Github Pages).

Locate your Public folder. Double click it.

Locate your html folder. Double click it.

Delete the contents of your html folder.

Upload your WebBuild.zip file to the html folder.

How To Export Game To Linux And Mac Unity Commands

Unpacking the Web Build

Your game is now hosted on a UMich server, but in order for it to be read properly by browsers, it needs to be unzipped from its archive

Via Putty, Terminal, or bash, ssh into your AFS space (replace “ayarger” with your uniqname).

Navigate to ~/Public/html

Use the “unzip” command to decompress your WebBuild.zip archive.

Aim your browser at www-personal.umich.edu/~<uniqname>/WebBuild

Your game is now accessible from any browser!

The Unity game engine has been upgraded to version 5.3, and its developers have made a series of very important improvements to it.

Unity is one of the most successful gaming engines out there, and it's being used by too many games to count. Some of the more famous include Angry Birds 2, Pillars of Eternity, Shadowrun: Hong Kong, Sword Coast Legends, Torment: Tides of Numenera, Kerbal Space Program, Ori and the Blind Forest, Fallout Shelter, Cities: Skylines, and many others. And these are just from 2015.

It's easy to see why upgrades to the Unity 5 engine are important, especially since so many games are using it. This is a very versatile piece of software that is available for Windows and Mac OS X platforms. The Linux version is being worked on. It's worth noting that the editor is capable of exporting games for a variety of platforms, including Android, iOS, or Linux.

How To Export Game To Linux And Mac Unity Download

How To Export Game To Linux And Mac Unity

Unity 5.3 is a massive update

How To Export Game To Linux And Mac Unity Pc

'Another three months, another release! Time flies when you’re an all singing all dancing game engine. In this latest version of Unity, we bring you a MonoDevelop upgrade, IAP made easy, smooth scene management, some important platform updates to iOS, tvOS, and WebGL, and more,' the developers are saying.

This update is important for Linux users as well, even if this particular update is not for the Linux edition, which is still under construction. Remember, it's possible to export games for the Linux platform, so upgrades to Unity will be reflected.

The developers have moved from the older OpenGL 2.1 backend to OpenGL 4.x, which is a big jump. This way, the game studios can take advantage of the newer technologies that come with the latest OpenGL version. Also, the WebGL support has been improved as well, which is really good news for mobile users.

Unity 5.3 is available right now for download (for personal use) or purchase if you plan to build a game.