Search Issue Tracker
Won't Fix
Won't Fix in 1.8.X
Votes
0
Found in [Package]
1.8.4
Issue ID
BUR-2425
Regression
No
Null references are not recognized when Burst Compiling
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the “Asset/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Console Window
Expected result: No error is thrown
Actual result: Two slightly different “IsNotNullRef: This code should not be called. Null reference not recognized." logs are thrown
Reproducible with: 1.8.4 (2022.3.2f1)
Could not test with: 1.6.6 (2021.3.27f1), 1.7.4 (2021.3.27f1), 1.8.4 (2023.1.0f1, 2023.2.0a18) (Requires entities 1.X package)
Reproducible on: Intel MacOS 13.4
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
Resolution Note:
Not a bug, as explained in this forum post: https://forum.unity.com/threads/in-43029-burst-compiled-code-cannot-recognize-null-references.1444897/#post-9060079
Resolution Note (1.8.X):
Not a bug, as explained in this forum post: https://forum.unity.com/threads/in-43029-burst-compiled-code-cannot-recognize-null-references.1444897/#post-9060079