Search Issue Tracker
Fixed in 2017.1.0f3
Votes
1
Found in
5.6.0f3
Issue ID
898141
Regression
Yes
Disabling and re-enabling parent Canvas results in child Canvas Rect Transforms being ignored and driven by their parent Canvas
How to reproduce:
1. Open the attached "RectTransformsBug" project and open "Primary" scene
2. Enter playmode
3. Press "Press Me" button twice to enable and disable nested Canvas
Expected result: Nested Canvas is disabled and enabled, child Canvas Rect Transforms doesn't change
Actual result: Nested Canvas is disabled and enabled, child Canvas Rect Transforms are changed and they are scaled along the entire parent Canvas onto each other
Notes:
1. The issue can be reproduced without entering playmode, just disable "Canvas" GameObject in the Inspector (the one that contains "CanvasPool" prefab) and re-enable it
2. You can also reproduce the issue by dragging nested Canvas from Hierarchy into Project window (making it into a prefab)
3. Reproducible in build of the project as well
Regression introduced in - 5.6.0f1
Reproducible with - 5.6.0f3, 5.6.0f1
Not reproducible with - 5.6.0b11, 5.5.2p3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment