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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.