Hi,
We just moved from 5.3 to 5.4, and we noticed a major issue with the SetSiblingIndex function on RectTransform which is mandatory in order to control the draw order of our UI elements at runtime.
We have an overlay UI which fakes a WorldUI because we want to keep fixed sized elements. We need to sort them when the user moves the camera, thats why we use SetSiblingIndex almost every frame.
On a good computer, it takes 1ms per Object moved, when we have 50 plus elements, it is just...
SetSiblingIndex VERY slow since 5.4
We just moved from 5.3 to 5.4, and we noticed a major issue with the SetSiblingIndex function on RectTransform which is mandatory in order to control the draw order of our UI elements at runtime.
We have an overlay UI which fakes a WorldUI because we want to keep fixed sized elements. We need to sort them when the user moves the camera, thats why we use SetSiblingIndex almost every frame.
On a good computer, it takes 1ms per Object moved, when we have 50 plus elements, it is just...
SetSiblingIndex VERY slow since 5.4