Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug Upgrading to 2021.2.0a11 breaks Entities 0.17.0-preview.41 package

Discussion in '2021.2 Beta' started by DK_A5B, Apr 1, 2021.

  1. DK_A5B

    DK_A5B

    Joined:
    Jan 21, 2016
    Posts:
    110
    After upgrading to 2021.2.0a11 (from 2021.2.0a10), my project will no longer load. I receive the following error message:

    Library\PackageCache\com.unity.platforms@0.10.0-preview.10\Editor\Unity.InternalAPIEditorBridge.012\EditorGUIBridge.cs(15,45): error CS0426: The type name 'HyperLinkClickedEventArgs' does not exist in the type 'EditorGUILayout'

    It appears that the source of the problem is that the latest version of the Entities package has a dependency on the com.unity.platforms package, which is broken by the upgrade to 2021.2.0a11.

    Tracing the dependency in the packages-lock.json file, it looks like the Entities package (com.unity.entities) is the source of the dependency on com.unity.platforms 0.10.0-preview.10. My project uses the latest version of the Entities package (0.17.0-preview.41).

    To rule out that it was an issue with the upgrade process, I also create a new project with 2021.2.0a11. This worked fine. Then I added the latest version of the Entities package (0.17.0) and then I get the same error message in the com.unity.platforms package.

    Cross posted to the DOTS forum: https://forum.unity.com/threads/upg...reaks-projects-using-entities-0-17-0.1085774/
     
  2. DK_A5B

    DK_A5B

    Joined:
    Jan 21, 2016
    Posts:
    110
    I just tried upgrading to 2021.2.0a12 and I'm still seeing this issue.
     
  3. alexandre-fiset

    alexandre-fiset

    Joined:
    Mar 19, 2012
    Posts:
    715
    Kmsxkuse and jasonboukheir like this.
  4. DK_A5B

    DK_A5B

    Joined:
    Jan 21, 2016
    Posts:
    110
    Yup. That is exactly the problem. That was quite a bombshell that they delivered yesterday.

    Oh, by the way, "the future of Unity" is no longer compatible with future versions of Unity. I'm still trying to make sense out of that.
     
    avenger_s, Ramobo, thelebaron and 3 others like this.