Search Issue Tracker
Fixed
Fixed in 1.6.1
Votes
0
Found in [Package]
1.6.0-pre.2
Issue ID
BUR-1501
Regression
Yes
NullReferenceException is thrown by Burst when accessing a SharedStatic struct
How to reproduce:
1. Open the user's attached project
2. Trigger an assembly reload by adding a comment line to the BurstCompileError.cs Script and saving
3. Return to the Editor and observe the Console
Expected result: no NullReferenceException errors are thrown to the Console
Actual result: an error is thrown: "Unexpected exception System.InvalidOperationException: System.NullReferenceException <...>"
Reproducible with: 1.6.0-pre.2, 1.6.0 (2019.4.32f1, 2020.3.22f1, 2021.1.28f1, 2021.2.2f1, 2022.1.0a14)
Not reproducible with: 1.5.6, 1.6.1, 1.7.0-pre.1 (2019.4.32f1, 2020.3.22f1, 2021.1.28f1, 2021.2.2f1, 2022.1.0a14)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Add comment