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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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!