Search Issue Tracker

Fixed in 1.5.0-preview.2 & 2.1.0-preview.2

Votes

1

Found in [Package]

2.0.1

Issue ID

1189820

Regression

No

TMP_UpdateManager.OnCameraPreCull() is called on game objects when Canvas component is disabled

Package: TextMeshPro

-

How to reproduce:
1. Open attached project ("TMPro-Culling-Repro.zip")
2. Open SampleScene scene
3. Open Profiler window (Window->Analysis->Profiler)
4. Enable Deep Profile in Profiler window
5. Select Hierarchy mode in Profiler window
6. Enter TMP_UpdateManager.OnCameraPreCull() in search field
7. Enter Play mode
8. Disable Canvas component in Canvas game object on Inspector window
9. Exit Play mode
10. Scrub over recorded Profiler timeline

Expected result: TMP_UpdateManager.OnCameraPreCull() running time is reduced
Actual result: TMP_UpdateManager.OnCameraPreCull() running time is not reduced

Reproducible with: 2018.4.11f1 (1.5.0), 2019.2.9f1 (2.1.0), 2019.3.0b6 (2.1.0), 2020.1.0a8 (2.1.0)
Not reproducible with: 2017.4.33f1 (Package manager was not present)

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.