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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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!