• 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
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
duck
talklittle
Bryan-Legend

People who like this

3 Show 0
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

  • Sort: 
avatar image

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
rytis
GesterX
dibonaj
maraoz
rejwan1
GrannySmith
talklittle
kayy
Bryan-Legend
matheusrma
JohnnySunshine
MrMeek
Zybermark
atifmahmood29
Marc-Uberstein
And 2 more...

People who like this

17 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!

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

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

How can I change my game type to a .unity3d file? 1 Answer

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

AssertBundle supported file types? 0 Answers

Facebook cannot find my Unity data file. 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