Search Issue Tracker
Fixed in 2022.3.53f1
Fixed in 2022.3.X, 6000.0.X, 6000.1.0a5, 7000.0.0a10
Votes
0
Found in
2021.3.45f1
2022.3.50f1
6000.0.23f1
6000.1.0a1
Issue ID
UUM-84202
Regression
No
"Unity.Mathematics.AffineTransform.identity" returns a zero-filled value when a project is built with an IL2CPP background
How to reproduce:
1. Open the “AffineTransform.zip“ project
2. Build and run the “SampleScene“ with a IL2CPP background
3. Observe the label at the top-left corner of the build
Expected result: “AffineTransform((1f, 0f, 0f, 0f, 1f, 0f, 0f, 0f, 1f), (0f, 0f, 0f))” is displayed
Actual result: “AffineTransform((0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f), (0f, 0f, 0f))” is displayed
Reproducible in: 2021.3.45f1, 2022.3.50f1, 6000.0.23f1
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- Not reproducible in Mono builds or the Editor
- The user states that it is likely caused because “AffineTransform has [Il2CppEagerStaticClassConstruction] and is initialized before float3x3, but [AffineTransform] depends on float3x3.identity“
- In “Unity.Mathematics” versions 1.2.6 and below, the “AffineTransform” does not exist
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
Add comment