- Home /
Question by
Michael Turner · Oct 03, 2010 at 11:07 AM ·
playerweblocalhost
webplayer not working
Hi, I have a problem getting unity to work on the web.
The webplayer works fine on my my machine when running it by double clicking on it from windows, but when I run it from my localhost (windows), or from the server it doesn't work. The html loads but the unity doesn't work saying for both 'failed to download data file' and the same when I click on error details. The html page I'm using is the one unity generates.
Comment
Answer by vgabex · May 08, 2012 at 10:30 PM
rename the "WebPlayer.unity3d" file to "webplayer.unity3d"
and in the html code change "unityObject.embedUnity("unityPlayer", "WebPlayer.unity3d", "100%", "100%", params);" to "unityObject.embedUnity("unityPlayer", "webplayer.unity3d", "100%", "100%", params);"