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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment