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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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.