Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.3p1
Issue ID
960520
Regression
No
Wrong rect.width value if the Rect Transform is in other scene
How to reproduce:
1. Open the "Project.zip" project
2. Open the "StartScene" scene
3. Press Play
4. Press "Load Second Scene" button
5. Change the resolution (to call the OnRectTransformDimensionsChange() event)
6. Check the console for the expected and returned value of rect.width
Actual result: In the second scene the expected and returned values are different.
Expected result: The values should be the same.
Note: the values for the second scene are one frame too late, it seems that OnRectTransformDimensionsChange is called before the second scene updates the rectTransform dimensions
Reproducible with: 5.5.5f1, 5.6.4p1, 2017.1.2p1, 2017.2.0f3, 2017.3.0b5, 2018.1.0a1.
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
low priority for the moment and defect found from the past. we may get back to it at some point but unlikely for the moment.