Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Maxii · Jun 12, 2012 at 01:53 PM · webplayererror messagefileinvalid

invalid .unity3d data file

I've placed my .unity3d file on my website on powweb. When trying to access it, I keep getting the above error on IE9. I've also tried Firefox (hang) and Safari (failed to download data file). I've already had powweb put the MIME answer in place 'AddType application/vnd.unity .unity3d' but it doesn't change the outcome.

It's not my path as the webplayer appears to be finding the datafile.

I've seen on the threads here that the MIME solution is necessary, but it seems that some people also find it not sufficient like I am. Is there some other step to take?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by tstpierre_nss · Jun 12, 2012 at 04:50 PM

Your MIME type is wrong.

It is type "application/x-unity" for extension ".unity3d"

update: Also, it depends on how you are deploying it to the host and how they configured the MIME type (what level in the server). For example, I host on IIS. And if I use Web Deployment Tool 2.x to publish, I allow it to alter my config settings. So I either have to define the MIME type to deploy with it, or apply it at the server level and not a site level (I did server because its easier). If you are simply FTPing it, then you should have nothing to worry about.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Maxii · Jun 13, 2012 at 10:47 PM

Thanks for your reply and help. This is the first time in all the thread searching I've done where I've heard about this MIME type. I was optimistic that this might do the trick.

Unfortunately, it didn't work. I'm still getting the defective file error when the web player tries to access it, and yes, I've been FTPing it to the site.

btw, does the lack of the proper MIME type corrupt the file when FTPing it TO the site, or is it affecting the Web Player when it tries to access it?

Still looking for answers...

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tstpierre_nss · Jun 13, 2012 at 11:44 PM 0
Share

the ftp process itself is not corrupting the file. the file on the server is NOT corrupted. the web server is just viewing it as an associated binary file.

what web server is your host? IIS 6? IIS 7/7.5? apache? etc. I am hosting with IIS7.5 and the $$anonymous$$I$$anonymous$$E type was application/x-unity

Do you have access to the server to configure and validate settings?

edit: for clarification (and ruling out) I said the ftp process is not corrupting it... it shouldnt, but do you have a local web server host on your machine that you are testing it with? like the built in freebie vs2010 asp.net host ? if it loads there, then you should be fine.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Can't unity running on my web site still 1 Answer

Split webplayer build into smaller files? 1 Answer

Web Player crashes (Invalid unity web file (decompression failure)) 1 Answer

Cannot open file for write. Error in unity 2 Answers

Out put data from web version 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges