Sunday, 23 February 2014

Setting up Unity3d webplayer on ASP.NET hosting

So I have some issues when I tried to upload web player version of one of my projects to ASP.NET server - arvixe.
After I uploaded webplayer version (html file and unity3d file) I was able to see unity 3d webplayer but nothing was loading. The solution is to add mime type(in my case I was able to do it via cpanel, if you do not have an access it is good to ask admin to do it for you).

The MIME type for Unity webplayer is:
    1. application/vnd.unity
And the file extension for unity webplayer files is:
    1. .unity3d

That fixed the issue for me and I was able to load my project on web.