Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Open unity project with latest version

Discussion in 'Editor & General Support' started by muazzissnajmi, Oct 22, 2018.

  1. muazzissnajmi

    muazzissnajmi

    Joined:
    Oct 15, 2018
    Posts:
    3
    Hi all,

    I just wan to ask a newbie question,
    what if I open a project (older version) with unity editor (latest version),
    is there will be an error or no ?

    Thank You
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    Depends on how old the version is and what was used in that project.
    You should give it a try.
    Make sure you have a backup before trying to upgrade the project version.
     
  3. muazzissnajmi

    muazzissnajmi

    Joined:
    Oct 15, 2018
    Posts:
    3
    what if I project is unity version 5, and I open it with latest version ?
     
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Any API's you are using that were removed between Unity 5 and your new version will either be automatically changed (occasionally Unity builds in an auto-conversion script, but not always) or will generate code errors and require you to manually change or remove before your project can successfully compile. This happens when API's are deprecated, supported platforms change, etc. For example, you might have scripts that reference the old WebPlayer (replaced by WebGL), the legacy particle system (replaced by a new particle system), or the legacy network system (replaced by Unet, which is also now deprecated).

    There may also be more subtle changes that affect your project, such as the order of your object's Update methods being called may change which actually exposes a bug in your own code (that happened to me between 2018.2 and 2018.2.9, which exposed a minor bug in my camera script, when I really should have been using LateUpdate instead of Update).

    Lastly, Unity does their best to catch any bugs, but there is no guarantee there isn't one that affects your project until Unity releases a new version with the fix. You may need to research or figure out work arounds if any bug is affecting code or features you are specifically using.

    So again, it entirely depends on how old the version is (will be a lot less work for you if you are coming from 5.6 instead of 5.0) and what exactly you are using in your project. Once a new version of Unity converts it to the new version, you generally cannot go back, so make a backup first.
     
    Last edited: Oct 22, 2018
    muazzissnajmi likes this.
  5. muazzissnajmi

    muazzissnajmi

    Joined:
    Oct 15, 2018
    Posts:
    3
    thanks a lot bro, noted.