Search Issue Tracker

Duplicate

Votes

3

Found in

2018.3.5f1

2018.4.0f1

2019.1.0a1

2019.2.0a1

2019.2.0b2

2019.3.0a1

Issue ID

1174775

Regression

Yes

Canvas.BuildBatch method becomes expensive when a Canvas with a Child is attached to the Main Camera in VR

uGUI

-

How to reproduce:
1. Open the user's project
2. Open "Scenes/SampleScene" Scene
3. Open the Profiler Window
4. Enter the Play Mode
5. Observe "Canvas.BuildBatch" call in the hierarchy

Expected result: Canvas.BuildBatch call does not take around 60-70% of the frame time
Actual result: Canvas.BuildBatch call takes around 60-70% of the frame time

Reproducible with: 2018.3.5f1, 2018.4.6f1, 2019.1.14f1, 2019.2.1f1, 2019.3.0a12
Not Reproducible with 2017.4.31f1

Note:
- The issue is reproducible when Canvas transformation is updated or Canvas component is enabled.

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.