- Home /
Unity Web Player not showing up when I host it on my site
I've uploaded a web player build of my game to my website (both WebPlayer.html and WebPlayer.unity3d files). When I go to the url, it hangs on the unity loading screen. Looking at the Web Console in Firefox, I see a '404 Not Found' error as it can't find the .unity3d file when in fact the file is there in the proper url/directory location.
Everything works fine when I preview in Firefox out of Dreamweaver. Has anyone run into this issue?
Answer by Craze · May 04, 2011 at 09:24 PM
Did you by chance change the name of the "WebPlayer.html"/"Webplayer.unity3d" when you uploaded it to your site? Did you edit the html?
If it is all named correctly and the WebPlayer.html and the WebPlayer.unity3d are both still named the same, then I have absolutely no idea why it would do that.
Also, a good alternative method for playing the Unity player in a browser is using Dropbox. You could use it as a work around, upload to dropbox and post a link on your site.
Unfortunately beyond that I am unsure of what the issue might be.
Answer by Graham-Dunnett · May 05, 2011 at 11:19 AM
You might need to tell your web server that a unity3d file is something it is allowed to send over the wire. Just because the unity3d file is in the file system of your server does not automagically make it visible. How you configure your web server depends greatly on what your server is, and that's outside the scope of Unity. (But http://answers.unity3d.com/questions/7063/godaddy-windows-hosting-unity-webplayer might be what you need.)
Your answer
Follow this Question
Related Questions
Change Web Player Size? 1 Answer
Regarding PlayerPrefs vrs. (WebPlayer && Standalone) Builds 1 Answer
не хочет грузиться King's Bounty: Legions 0 Answers
Needing stripped web player code, without installer or version checking 0 Answers
Unity web player crashing with error "PlayerLoop called recursively!" 0 Answers