Search Issue Tracker

Feature Request

Votes

0

Found in

2019.4.36f1

2020.3.30f1

2021.2.15f1

2022.1.0b11

2022.2.0a7

2023.2.0a1

Issue ID

UUM-5820

Regression

No

Mesh.AddBlendShapeFrame performance decreases when consecutively adding blend shapes

--

-

How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/SampleScene
3. Open the Profiler (Window -> Analysis -> Profiler) and enable Deep Profile
4. Press the Play button, then exit Play mode when the Scene has finished loading
5. In the Profiler, observe the total time of Mesh.AddBlendShapeFrame calls in the first frame
6. Change the Profiler view from Hierarchy to Timeline
7. Observe the time taken for each of the separate Mesh.AddBlendShapeFrame calls over time, comparing the first and last calls

Expected result: the performance of adding blend shapes does not increase over time
Actual result: the performance of adding blend shapes increases from around 11ms to over 110ms over 250 calls, taking over 10 seconds in total

Reproducible with: 2019.4.36f1, 2020.3.30f1, 2021.2.15f1, 2022.1.0b11, 2022.2.0a7

  1. Resolution Note:

    Moved to product tracking. The API behaves as expected, however, there is a request to improve performance of this API.

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.