Unity-Technologies / Unity.Mathematics

The C# math library used in Unity providing vector types and math functions with a shader like syntax
Other
1.38k stars 156 forks source link

Cyclic dependency error in Test Project with Unity 2021 #233

Open JohannesMP opened 1 year ago

JohannesMP commented 1 year ago

The Included test project Unity.Mathematics.TestProject can be opened using the Unity Hub using 2020.3.33f1 (LTS) no problem.

When launching the project using Unity Editor 2021.3.21f1 (LTS) the following packages are automatically update:

Packages were changed.
Update Mode: updateDependencies

The following packages were updated:
  com.unity.burst from version 1.2.3 to 1.6.6
  com.unity.ide.rider from version 2.0.7 to 3.0.18
  com.unity.ide.visualstudio from version 2.0.14 to 2.0.17

image

After that you get the following error:

One or more cyclic dependencies detected between assemblies:
  Packages/com.unity.collections/Unity.Collections.BurstCompatibilityGen/Unity.Collections.BurstCompatibilityGen.asmdef,
  Packages/com.unity.collections/DocCodeSamples.Tests/DocCodeSamples.Tests.asmdef,
  Packages/com.unity.collections/Unity.Collections/Unity.Collections.asmdef,
  Packages/com.unity.properties/Editor/Unity.Properties.Editor/Unity.Properties.Editor.asmdef,
  Packages/com.unity.properties/Runtime/Unity.Properties/Unity.Properties.asmdef

image

JohannesMP commented 1 year ago

This issue is resolved by manually updating the com.unity.properties package from version 0.10.4-preview to version 1.0.0-preview.3 or later.