Unity-Technologies / Unity-Technologies/Unity.Mathematics
Cyclic dependency error in Test Project with Unity 2021
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Description
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

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

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open Unity.Mathematics.TestProject with Unity Editor 2021.3.21f1 and reproduce the package updates and cyclic dependency error. Start with the listed Unity.Collections and Unity.Properties .asmdef files, then verify that the test project opens without the reported cyclic assembly dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100