Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Feedback Automatic Package updating can be problematic.

Discussion in 'Package Manager' started by AndyKorth, Aug 21, 2019.

  1. AndyKorth

    AndyKorth

    Joined:
    Oct 19, 2009
    Posts:
    25
    Hi, I've got a suggestion for an issue that you may not have considered.

    We upgraded our project to 2019.1 a while ago, and during that automatic migration, Unity changed many of our package choices. Specifically it bumped
    Code (csharp):
    1.  "com.unity.textmeshpro": "2.0.0",
    to
    Code (csharp):
    1.  "com.unity.textmeshpro": "2.0.1",
    .

    Unfortunately we ran into a bug in version 2.0.1 of that package, and downgraded to version 2.0.0 to avoid that issue. (We also dutifully reported the issue and it is being fixed: https://forum.unity.com/threads/textmeshpro-2-0-1-regression-from-2-0-0.711491/ ).

    We commit the manifest.json file with version 2.0.0 selected, but team members continued to run into issues where Unity would upgrade the manifest file on them and change it back to 2.0.1. Because there are a handful of developers on the team, this would get checked back in, and our bug would reappear for everyone on the team.

    I'm not completely sure what situations lead to Unity automatically updating package versions, but it seems overly aggressive.

    In one case, a team member did a minor version update and it reselected the buggy version of the package.

    https://i.imgur.com/P6EQ0WF.png

    I think the core issues here is that I specifically chose a version I wanted, but it was very difficult to make that choice "stick".
     
  2. ethan_jl_unity

    ethan_jl_unity

    Unity Technologies

    Joined:
    Sep 27, 2018
    Posts:
    100
    Hi there,

    As far as I know, the one situation that triggers Unity update is when you open a Unity project with different versions of Unity (or if the `ProjectVersion.txt` file is not present). If all of your team members are using the same exact version of Unity (even the minor and patch version need to be the same), there shouldn't be any automatic upgrade happening all together.

    If you checked that all your team members are using the same unity version as said in `ProjectVersion.txt` file but the upgrade still keeps happening, then please report a bug to us (https://unity3d.com/unity/qa/bug-reporting)

    Thanks!
     
unityunity