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
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.