Search Issue Tracker
Fixed in 4.6.X
Votes
2
Found in
4.6.0b17
Issue ID
633152
Regression
No
UI: layout isn't refreshed after children reordering in runtime
To reproduce:
1. Open attached project
2. Open Test scene
3. Press Play
4. Press Reorder button
5. Notice Panel Red is reordered as Last Sibling in Hierarchy, but order in game view doesn't change
6. Disable and enable Panel game object
7. Notice that now objects are reordered correctly in game view
Comments (2)
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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
PhobicGunner
Sep 25, 2014 17:35
I'm running into this issue as well. Either SetSiblingIndex needs to automatically invalidate the UI, OR there should be a way to manually call SetDirty instead of the disable/enable workaround.
Trentish
Sep 24, 2014 00:29
We're also running into this issue. The base class has SetDirty(), but it's protected.
Workaround: In code, set .enable to false and immediately back to true.