- Home /
unity player bad file length
I have uploaded a unity web file, into my test server, and sometimes in safari it won't open and instead it show the error "bad file length", i've done some search and i found people saying that clear the browser cashes resolve the problem, but for me it's not true, i clear the caches and the error steels there. after done that I opened it on firefox, and guess what it works. the only solution that I found to resolve the problem in safari is to re-upload the unity build again to the server. although after soon or latter the error comes back. any idea how can i solve this?
Right there with ya buddy, I got's me the same dang problem and no one is saying if it's working fine on their end or not. $$anonymous$$aybe some one can go and check it out for me too... heck if it works for ya you can play my game lol http://budthespudgame.net76.net/WebPlayer.html
Answer by duck · Apr 15, 2010 at 04:53 PM
This sounds like a (pretty bizzare) problem with your server, as I don't think there's anything you could actually do inside Unity itself to cause this. Have you tried passing the URL around to other people to try, to see whether they see the same problem?
Have you tried examining the filesize (via an ftp client perhaps), after the problem has started occurring, to see whether it has in fact changed size?
Could you post the URL to the file which is showing the problem for you, so we can see whether the same happens for us?
I think your right, the problem could be the server. Good servers cost money and I'm a student so I get this free hosting to test my web content. I'm doing a blog to post the milestones of my games until I complete them. But i'm changing into another free server, perhaps this one is faster, the old adress to the game is this:
http://www.myunitygames.freehostingx.com/2spaceShooter_v_0_4_1.html (this is just the prety basic test, just to test the concept of the game)
The blog is this: http://www.myunitygames.pt.la/ it dosent have any content yet, but I'll add soon. (it steels in development).
Answer by aaron.du · Dec 28, 2010 at 10:41 AM
first i thought maybe my parent blocked it so i used a proxy now i know alot of people use it to hack but that was not my case.u see im 17 with strict parents.well any ways i download a program called ultrasurf its a web proxy and it acually worked fine after words come to find out my parents dident bloack the site so hopefully this helps!
Answer by BurstingBarrel · Jul 28, 2015 at 01:11 PM
Try to play it on google chrome, if it doesn't work then clear the browser cache. Me too i got this problem with a unity game, i cleared my browser's cache and it works now
Your answer
Follow this Question
Related Questions
What is abort 127 0 Answers
Web Player Export Problem 1 Answer
Unity WebPlayer does not install. 1 Answer
Unity web pallyer install problem 0 Answers
Unity started rejecting my scripts? 1 Answer