- Home /
Web Player "Invalid Data File"
When I try to run my game in the web player it gives me the "Invalid data file" error. If I just upload the .html and the .unity3d files generated from the builder it works fine. But if I host my unity3d file somewhere else (GitHub) and change the .html so it loads the new file the webplayer gives this error. I need to fix that so I can create a facebook app from my game
been trying to do the same and it doesnt seem possible. my guess is you would either need to copy the file from your url first then feed it into the constructor or make the constructor take a url. u.initPlugin(jQuery("#unityPlayer")[0], "URL");
Answer by Kiwasi · Sep 17, 2014 at 08:31 PM
I had this error on some browsers where the server was not letting the file download properly. If the server reports the download is finished before its over you get this error.
Try switching server.
Your answer
Follow this Question
Related Questions
How to optimize the build game for unity webplayer? 1 Answer
Unity Web Player administrator privileges 0 Answers
How connect from Unity WebPlayer app to C# server 1 Answer
"Facebook object not loaded yet" error 3 Answers
Cloud recognition in Vuforia 0 Answers