- Home /
Invalid File Error
I am looking at Unity 3D. I created a scene exported to the web. It all works fine locally but if I uploaded to my web server I get "Invalid data file" I can understand why. I have tested it on both IE & Firefox
Answer by Mike 3 · Oct 02, 2010 at 01:50 PM
That generally happens when your web host has got restrictions on MIME extensions which can be used. The proper way to fix it would be to add .unity3d as a MIME extension, but it depends on your host whether you can do that as a user.
The hacky fix is to rename the .unity3d file to .jpg, then do the same inside the html that points at it - it'll fool your host into thinking it's a valid extension and work
Answer by dande · Oct 02, 2010 at 03:27 PM
Thanks for your reply Mike.
I just spoke to the people that host my web site. They said they will set up a mime type for the unity3D file type but they need to know the mime type settings for unity3D for an apache server.
Do you know where I can get those settings ?
Thanks
Your answer
Follow this Question
Related Questions
Invalid IL Code Error 0 Answers
Error building OSX only. 0 Answers
cant add script because it doesnt exist 2 Answers
error when open downloaded file 0 Answers
File not found Exception Unity Engine error in console 0 Answers