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. Dismiss Notice

Resolved Latest Stable Version Confusion

Discussion in 'AR' started by Jason-RT-Bond, Dec 15, 2020.

  1. Jason-RT-Bond

    Jason-RT-Bond

    Joined:
    Mar 26, 2012
    Posts:
    89
    I'm looking to update a project from ARFoundation 3.1.3 to whatever the current stable version is in the 4.x series. However, I'm unclear what is considered "stable" in the Unity Package Manager.

    • 4.1.0 has thirteen preview versions and none that are not labelled preview.
    • And yet there is a 4.1.1 which is not labelled preview. Is it considered stable?
    • I see this pattern repeated for other versions of the package. Is it intended that "stable" versions have a larger version code than all the previews that come before them? I've never seen this pattern before and am legit confused.
    • The last package labelled as "verified" is 2.1.10. Are we to assume that this label is no longer used?

    Screen Shot 2020-12-15 at 15.57.10.png
     
  2. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,070
    The 'verified' version varies from one Unity version to another.
    For example:
    1. For Unity 2019.4.16 the verified version is 2.1.10.
    2. For Unity 2020.1.16, it's 3.1.6.
    3. For Unity 2020.2.0 it's 4.0.9.
     
  3. Jason-RT-Bond

    Jason-RT-Bond

    Joined:
    Mar 26, 2012
    Posts:
    89
    Interesting... Why would no version after 2.1.10 be verified for 2019.x?
     
  4. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,070
    I think version verification takes a lot of work so they allocate resources toward newer versions of Unity.
     
  5. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    605
    Only one version of a package may be verified for any given version of Unity. ARFoundation 4.1.x, for example, is verified for 2021.1, but compatible with 2019.4. It is considered stable, but not verified 2019.4.

    The difference between "not preview" and "verified", is that all packages that are verified for a given Unity version are guaranteed to work well together. If you use ARFoundation 4.1 in 2019.4, it will work on its own, but may be incompatible with other packages, e.g., because they could have different versions of the same dependency.

    The Package Manager will tell you which version of a package is verified for that version of Unity (it should be the default one, and have the "verified" label). We also have a table of which package version is verified for which Unity version here.
     
    Jason-RT-Bond and KyryloKuzyk like this.
  6. Jason-RT-Bond

    Jason-RT-Bond

    Joined:
    Mar 26, 2012
    Posts:
    89
    Thank you for the details on this.

    Could you also verify for me that 4.1.1 is essentially the stable version which follows directly on the 4.1.0 previews? I haven't seen this numbering scheme before, where the version number actually increments both going into preview (4.0.9 is stable and followed by 4.1.0-preview.1) and out (4.1.0-preview.13 is followed by 4.1.1 stable). I'd like to be sure that I'm not missing something.
     
  7. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    605
    That's exactly what it is :)

    All Unity packages follow semantic versioning. See also https://docs.unity3d.com/Manual/upm-semver.html