Search Issue Tracker

Fixed in 5.6.0

Votes

2

Found in

5.5.0f3

Issue ID

862068

Regression

Yes

UI Canvas redundantly updates Transform if its parent Transform is not default

UI

-

Steps to reproduce:
1. Open the attached project (UICanvasBugReport.zip)
2. Open the Assets/NotOk.unity scene
3. The NotOk scene has a GameObject(UI) in the root of the scene with position (1.0f; 1.0f; 1.0f)
4. Play the scene
5. Open Profiler
6. Profiler shows clearly redundant calls to CanvasRenderer.OnTransformChanged, CanvasRenderer.SyncTransform, CanvasRenderer.SyncWorldRect

Expected result: UI Canvas should update the Transform only once
Actual result: UI Canvas redundantly updates Transform

Note:
Everything works fine with default position (0f, 0f, 0f)

Reproduced with: 5.5.0a1, 5.5.0f3, 5.5.0p2, 5.6.0b2
Not reproduced with: 5.3.6p8, 5.4.3p3
Regression introduced in 5.5.0a1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.