Host your Unity Games on Azure without Plugins - step by step

Sign in to queue

Description

Hosting a unity game on a webserver or in the cloud previously required a plugin to actually be able to play it. With Unity 5 and the WebGL export it is possible to play your Unity games in the browser without having to download any plugin beforehand! That means it is also fully compatible with Edge, for example :)

Dear Students! You might have to log in to the new Azure Management Portal - thankfully, the Microsoft UK Faculty Connection has explained it all in their really helpful and elaborate blog post :)

And it's not that difficult! The main thing you need to do differently is instead of editing the web.config file, you need to add one to the WWWROOT folder. So - whether you are curious about how it works, step by step - or you would like to see it walked through - this is the guide for you!

The content should be as follows:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <system.webServer>
       <staticContent>
           <remove fileExtension=".mem" />
           <mimeMap fileExtension=".mem" mimeType="application/octet-stream" />
         <remove fileExtension=".data" />
        <mimeMap fileExtension=".data" mimeType="application/octet-stream" />        
      </staticContent>
   </system.webServer>
</configuration>
 
Also, extra credit to Jason who provided quite a bit of insight before =)

Embed

Download

Download this episode

The Discussion

Add Your 2 Cents