Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
11 Jun 22 - 14 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
1
Question by RLin · Aug 06, 2015 at 03:34 PM · platformreimport

Why does switching platforms require a reimport of all assets?

Title says it all.

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
Best Answer

Answer by Mikilo · Aug 06, 2015 at 04:18 PM

Because each platform has different requirement.

The easiest example is the Web Player. It forbids many things that is allowed in the standalone. Like many IO classes.

When you switch to a platform like PS4 or Xbox, they provide libraries dedicated to their hardware.

There is similar reasons for graphic assets. All platforms do not handle all format (As far as I know), they are converted to the specific platform's requirement (certainly for performance and other obscure reasons).

Thus, when you switch to a platform, Unity needs to recompile your code to check if it still work.

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 BrainSlugs83 · Sep 15, 2020 at 10:01 PM 0
Share

So why would my .wav files need to be reimported? -- And if I'm going from mobile to desktop (e.g. from a more restricted platform to a less restricted one) why would it ever need to reimport anything? -- (those are specific examples, but I don't think this is correct -- like Unity will let you import stuff that's not supported anyway -- it will just complain at build time... so this seems wrong.)

avatar image
1

Answer by Owen-Reynolds · Aug 06, 2015 at 04:32 PM

This is really a meta-question -- knowing it won't help you makes games any better. But, knowing why might help answer a better Q: "Is there any way to avoid the long platform-switch waiting times?" (I believe the Answer is "No".)

Image formats need to be converted (and possibly other formats.) If you look, textures are in DXT* format in a PC build, and become a PVRTC format in an iOS build. You can probably also read the progress bar, check for items that are there for a while, and compare before/after formats.

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

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

26 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

EditorUserBuildSettings.SwitchActiveBuildTarget causing reimport error on otf font 0 Answers

Detect if ball is on a platform or if it fell 4 Answers

Platform dependent flags required in Using/Namespace definition? 1 Answer

Why Game Frames per second drops to almost zero on SurfacePro? 1 Answer

Spawning animals at a random postion on platforms. 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