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
- Compute Shader property not set error when entering play mode with path tracing and PBR sky
- "WebGL Publish" detects WebGL module and allows building when it is installed without restarting the project
- Editor is non-responsive and flickers when multiple Water System instances are enabled
- Texture2D.PackTextures causes mips 7-9 to turn pink when packed textures are of ASTC 4x4 compression
- "OnApplicationQuit" is called when "Application.wantsToQuit" returns false
Add comment