Search Issue Tracker

By Design

Votes

0

Found in

2022.2.0a17

Issue ID

UUM-2235

Regression

Yes

Profiler is analyzing frames very slowly when "Deep Profile" is enabled and there are a lot of GameObjects with physics in Scene

-

How to reproduce:
1. Open project "UnityVisualScriptTest" inside "Project.zip"
2. Open the "SampleScene" Scene (Assets > Scenes > SampleScene)
3. Open Profiler (Window > Analysis > Profiler) and enable the "Deep Profile"
4. Enter Play Mode
5. Observe the Profiler window

Expected result: Frames are analyzed much faster
Actual result: Frames are analyzed very slowly

Reproducible with: 2021.2.0a19, 2021.2.19f1, 2021.3.0f1, 2022.1.0b15, 2022.2.0a10
Not reproducible with: 2019.4.37f1, 2020.3.33f1, 2021.2.0a18

  1. Resolution Note:

    The performance issue comes from the fact that the project has a lot of small functions which are all instrumented when deep profiler is enabled. Unfortunately this is a limitation of the deep profiler design.

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.