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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment