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
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
Add comment