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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment