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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment