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

Package: Burst

-

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)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.