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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment