Search Issue Tracker
Fixed in 2017.1.X
Votes
32
Found in
5.6.0f1
Issue ID
893559
Regression
Yes
Rect Transform position values are set to NaN, when Rect Transform is created via script and canvas is scaled to 0.01
To Reproduce:
1. Open project
2. Play scene
3. In hierarchy choose 'Sizer' object in 'Canvas- Scale 0.01'-> 'Table Holder'-> 'TablePro'->'New Game Object'
4. Repeat 3rd step with 'Canvas- Scale 1' game object
Expected: no NaN values in Rect Transform position
Actual result: Sizer's object Rect Transform position has NaN values, also error is thrown: 'Assertion failed on expression: 'IsFinite(outDistanceForSort)''
Reproduced on: 2017.1.0a5, 5.6.0b3, f2
Not reproducible on: 5.5.2p3, 5.6.0a1, b1
Regression introduced in 5.6.0b3
Comments (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
- [Android] Audio sound is lower in the Player compared to the native music player
- Feet slide and misalign when playing retargeted animations
- IndexOutOfRangeException is thrown in NativePassCompiler when a graphics buffer is used in more than 5 render passes
- "Undo Stack Overflow" error is thrown, and Undo History is deleted when multiselected GameObjects are reparented to their GrandParents
- SearchColumn of type "ObjectReference" does not get refreshed for the custom SearchProvider when lighting generation finishes
MrLucid72
Apr 09, 2017 15:43
Really messes up our UI in 5.6f3