Search Issue Tracker
Fixed in 2021.3.29f1
Fixed in 2023.2.0a22
Votes
0
Found in
2021.3.26f1
2022.3.0f1
2023.1.0b19
2023.2.0a17
Issue ID
UUM-39917
Regression
No
Static constructor is not initialized when using IL2CPP
Reproduction steps:
1. Open the attached project “StaticConstructorBug“
2. Open the Test Runner (Window>General>Test Runner)
3. Select the Play Mode tab
4. Press the button “Run All Tests (StandaloneWindows64)”
Expected result: All tests pass
Actual result: Test that checks if Struct variable “NormalStaticData” is initialized fails
Reproducible with: 2021.3.26f1, 2022.3.0f1, 2023.1.0b19, 2023.2.0a17
Reproducible on: Windows 11
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
- Crash on ConstraintProjectionTree::projectionTreeBuildStep when ConfigurableJoint uses JointProjectionMode.PositionAndRotation and connected Rigidbody switches from kinematic to non-kinematic
- ScriptableObject asset is accessed during the lookup of Build Profiles when opening the Build Profiles Window
- [Multiplayer TPS Sample] Grenade launcher explosion misses the Player when the Collider count exceeds HitColliderBuffer
- OS Notification Documentation is missing when following hyperlink in Notifications Settings in Hub
- Canvas Scaler sets local transforms (Position, Rotation, Scale) to 0 when Canvas is edited in Prefab Mode
Resolution Note (fix version 2021.3.29f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-39521
Resolution Note (fix version 2023.2.0a22):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-39521