Search Issue Tracker
Fixed
Fixed in 2022.3.53f1, 6000.0.28f1, 6000.1.0a5, 7000.0.0a10
Votes
0
Found in
2021.3.45f1
2022.3.50f1
6000.0.23f1
6000.1.0a1
7000.0.0a7
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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Add comment