- Home /
UnityLoader.js throws up an Internal Sever Error 500
I built my project for WebGL and it runs perfectly fine locally via Firefox. However it will not run via the internet when I upload it to my website.
I initially had the 'Incorrect Header' problem but I fixed that with a web.config
After that all I get is a blank page.
The Java console tells me that UnityLoader.js is giving a 500 Internal Sever Error and I have no idea how to address it. Is it something that I can solve? If so, how? Alternatively is it something I need to talk to my web host about?
Any pointers would be much appreciated.
Wayne
The Java Console report looks like this if this is any help:
The tech support at my web host seem pretty stumped by the error but they don't really seem to understand what the app is. They guess (because they can't seem to be able to tell) that it may be trying to access something that is 'restricted by default' but couldn't really help me beyond that. This is bloody enfuriating. There must be a way of figuring out what is causing the 500 error. If I can just get that information I can at least look at how I might fix it.
this issue is now fixed. It turns out I required a web.config file specifically geared to ASP .net and I found one here:
http://rasmus.selsmark.dk/post/2015/11/21/Configuring-ASPNET-web-server-for-Unity-WebGL-content.aspx
Your answer
Follow this Question
Related Questions
WebGL build error on Unity 2021.2.8 0 Answers
Conversion of object.text to webGL 0 Answers
I can't import project tiny in Unity 2019 2 Answers
Compile errors using WebGl plattform 2 Answers