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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
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!