Search Issue Tracker
Fixed in 0.0.12-preview.11
Votes
0
Found in [Package]
0.0.12
Issue ID
1057509
Regression
Yes
Adding dependency to com.unity.collections in manifest.json throws missing Unity.Mathematics reference error
Assembly "Unity.Collections" in package "com.unity.collections" has reference to "Unity.Mathematics", but there is no corresponding dependency in its package.json
To reproduce:
1. Download attached project "Collections.zip" and open in Unity
2. Add a dependency to "com.unity.collections" in Packages/manifest.json (package is not visible in the UI)
Expected results: package.json in com.unity.collections declare its dependency to com.unity.mathematics, Package Manager pulls com.unity.mathematics in the project and compilation succeeds
Actual result: Compilation will fail due to missing "Unity.Mathematics" referenced from "Unity.Collections.asmdef"
Notes:
- This issue appears on Windows and OSX
- Developers said that the dependency to Unity.Mathematics has been removed and it should land in the next release of ECS
Reproduced on Unity 2018.1.0b9, 2018.1.8f1, 2018.2.0f2 and 2018.3.0a4
Not reproduced on Unity 2017.4.5f1 and 2018.1.0b8
Regression on Unity 2018.1.0b9
Comments (2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
joaoborlido17465
Oct 17, 2018 14:54
Hey there!
I had a similar problem and after searching everywhere found out that you just need to replace your manifest.json file with the contents of this gist: https://gist.github.com/jborlido97/bd9629cdf89a502dae50afc9c089cc9b
Hope this helps anyone who might need in the future!