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
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
- Mixers do not have "Rename" in the right-click context menu when a Mixer is right-clicked in the Audio Mixer window
Add comment