Search Issue Tracker
Fixed
Fixed in 1.7.4, 1.8.0-pre.2
Votes
0
Found in [Package]
1.6.6
1.7.3
1.8.0-pre.1
Issue ID
BUR-1952
Regression
Yes
Code is not executing correctly in static constructor when called from Burst compiled code
Reproduction steps:
1. Open the attached project
2. Open the SampleScene.unity Scene located in the /Assets/Scenes folder
3. Enter the Play Mode
Expected result: All of the outputs in the Console window should have an index of 1
Actual result: The "'static readonly': index from Burst code" output in the Console window is equal to -1
Reproducible with: 1.7.0-pre.1, 1.7.3, 1.8.0-pre.1 (2020.3.36f1, 2021.3.5f1)
Not reproducible with: 1.6.6 (2020.3.36f1, 2021.3.5f1)
Could not test with: 2019.4.39f1, 2022.1.7f1, 2022.2.0a18, 2023.1.0a2 (DOTS is not supported)
Reproducible on: Windows 10 (21H2)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Add comment