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

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: Upgrading to 2021.2.0a11 breaks projects using Entities 0.17.0

4 Likes

I just tried upgrading to 2021.2.0a12 and I’m still seeing this issue.

Maybe it has something to do with the fact that Entities packages currently are not compatible with versions of Unity above 2020 ?

2 Likes

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.

6 Likes