Unity-Technologies / Unity-Technologies/Unity.Mathematics

Cyclic dependency error in Test Project with Unity 2021

Open
#233 1 comment 0 reactions 0 assignees View on GitHub

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

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.