Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
1
Question by eco_bach · Dec 01, 2016 at 02:33 PM · compatibilitybackward

Unity 5.5 downward compatibility

Hi Am I correct in assuming that once you open and save your project using 5.5 you will no longer be able to open in an earlier version without 'breaking' it? ie 5.5 is NOT downward compatible

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 Bunny83 · Dec 01, 2016 at 02:58 PM

Well, in general Unity always was kind of backwards compatible "to some degree". So usually you can simply open a newer project with an older version of Unity. Where things can break is "serialized data". That includes prefabs as well as scenes. In most cases they should load just fine. Even if you may used new components that didn't exist in the older Unity they usually just fail to load and can be removed after loading.

However there never has been any officially guaranteed backwards compatibility between any versions of Unity. That's why Unity warns you when you try to open a newer project with an older version.

In any case no matter if you upgrade to a newer version or downgrade to an older, always create a backup of the project if you fear loosing anything. Personally i have a lot test projects which i don't backup ever, but if one breaks i don't care ^^. Code is never lost and that's my main concern. I don't care much about scenes and prefabs.

Though since scenes and prefabs can be serialized as text the compatibility usually is high and in case of a complete break there's still a chance to fix it "by hand" since it's just text. That of course assumes that you have set the serialization setting to "force text".

So if you plan to downgrade a project you should:

  • Make sure you use text serialization in the project settings

  • Make sure you made a backup before you down grade.

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 Seneral · Mar 19, 2017 at 05:55 PM

Found unity would mess it up, remove names or even worse... But it is very easy to convert manually when the files are serialized as text.

So I wrote a small script that adds context menus to the files to convert them:

  1. It replaces all GO serialized versions 'serializedVersion: 5' with 'serializedVersion: 4', which can be done manually in a text editor, too.

  2. It shortens the GUIDs (16 in 5.3+ is too long for <5.3) when target version is below 5.3. This is tedious to do per hand, hence the script. It is not optimised and written quickly as I'm in a hurry to have it ready, but it works for the most part. Don't ask me why this works, but it does. Setting serializedVersions lower just prevents unity from messing with the files, which works, and the ids is the only critical part it has to fix.

Anyway, hope it helps anyone. It can be downloaded here: https://gist.github.com/Seneral/d88d2079ff17f77f2bd1775aadb8547b

It performs on text serialized files, so pelase remember to (atleast temporarilly) force text serialization!

Seneral

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

56 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 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 avatar image avatar image avatar image avatar image

Related Questions

Boo and Unity 0 Answers

[Android] How to set theme to Holo ? 0 Answers

x86 and x64 projects compatibility on the same version of unity 0 Answers

Movement with CharacterController is lagging while moving backward 0 Answers

"your device isn't compatible with this version" ... except it is ??? help needed 3 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