Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.6.3
Issue ID
BUR-1639
Regression
No
Burst throws a BC1091 error when running constraint tests
How to reproduce:
1. Open the attached "constraint-solver-unity.zip" project
2. Open the Console
Reproducible with: 1.6.0, 1.6.3 (2021.2.8f1), 1.6.3 (2022.1.0b3)
Couldn't test with: 2019.4.34f1, 2020.3.36f1 (Burst version gets hard reset to 1.6.3)
Expected result: No errors
Actual result: "Burst error BC1091" is thrown
Note:
- Alternate way to reproduce is to run all of the tests (Window -> General -> Test Runner -> "Run All" Button)
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
- Project window selection is not updated when search term is changed
- Error when adding valid MonoBehaviour script to Prefab in Project window
- Editor Launch Screen will close when Enter is pressed on it
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
- [Android] Permission window is not shown when using a Build App Bundle (Google Play) with Minify set to Release
Resolution Note:
Hey there - firstly thanks for the bug report.
This is caused by you using `HashCode.Combine` which in turn pulls in the `HashCode` static constructor, which calls out to some invalid code. You'll need to combine the hashcodes yourself without using this call.
Closing this as this is by design, but I am going to file a follow up issue in the Burst team to try and make it easier for y'all to figure out these kind of issues yourself (by making the error more useful I hope!).