Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Need Help with IIS and WebGL

Discussion in 'WebGL' started by Cherubim79, Sep 29, 2015.

  1. Cherubim79


    May 3, 2014
    I'm running Windows 8.1 with IIS installed and wanted to know if there are any resources for learning how to get WebGL working with IIS on a localhost?

    I'm doing a minimal example with Unity and FB SDK 7.1.0, it works fine in the editor and on Android. When I build and copy my files to C:\Inetpub\wwwroot\App42Test\ I got errors first that it couldn't find Release/WebGL.html.mem so I added .mem to IIS as an application/octet-stream MIME Type. Then when I tried to run again I got something about object null of property 'length'. I tried searching for it and didn't come up with any solutions. In the publish settings I've turned off exceptions and data caching if that helps.

    I was on 5.1.2 and am in the middle of upgrading to 5.2.1f1 to see if that helps.
  2. sirrus


    Jun 10, 2012