• 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
3
Question by dande · Oct 03, 2010 at 07:04 PM · filetypeinvalidmime

Mime Settings for Unity3D file type

I'm trying to get a Unity file to run on my web site. From my research the web hosting company need to add unity3D to the mime types.

I got onto the web hosting company and they said they can set up a mime type but they need to know the settings required by unity.

Can anybody point me to where I might find them

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

1 Reply

· Add your reply
  • Sort: 
avatar image
17

Answer by duck · Oct 03, 2010 at 07:26 PM

Most servers should require no configuration at all. Just upload the .unity3d file, and the accompanying html file, and you're finished.

Sometimes you'll get a server which is a bit particular about what kinds of files it serves up (looking at you, IIS!) so you need to explicitly add the unity webplayer mime type before it will even admit that your file exists to the outside world.

The MIME type for Unity webplayer content is:

application/vnd.unity

And the file extension for unity webplayer files is:

.unity3d

So, if you're editing htaccess files on your server, you need to add this:

AddType application/vnd.unity unity3d

And if you're configuring a server via some other means (eg, a control panel, or asking your sysadmin to do it) you just need to specify the mime type mentioned above.

(note, this question has already been asked and answered here but it looks as though the original asker will never return to accept the answer, so I'm reposting the answer in full here).

Comment
Add comment · Show 2 · 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 Graph · Jun 06, 2014 at 01:05 PM 0
Share

may have been posted a while back but still helpful and worked a charm. first i was worried there was something bugging out in the asset streaming (since there were some problems getting (de)serialization to work in the webPlayer) then i came upon this answer.. phew :)

avatar image NicoCarosio · Nov 25, 2014 at 11:49 AM 0
Share

Thanks!! it help me very much!

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How do I import audio and what type of audio do i need (mp3, etc.) 1 Answer

Facebook cannot find my Unity data file. 1 Answer

AssertBundle supported file types? 0 Answers

invalid .unity3d data file 2 Answers

"Invalid Data File" error in every server I try (Facebook game) 1 Answer


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