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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment