Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2021.3.X
Votes
1
Found in
2021.2.0a7
2021.2.19f1
2021.3
2022.1
2022.2
Issue ID
1428866
Regression
Yes
Performance cost of looping animations increases over time
Steps to reproduce:
1. Open the attached "InflatingAnimationCostBugReport.zip" project
2. Open SampleScene in Assets > Scenes
3. In the Toolbar select Window > Analysis > Profiler
4. In the Profiler window set Play mode as Target Selection
5. In the Profiler window press Record
6. Enter Play Mode
7. In the Profiler window observe the Animation category of the CPU Usage Profiler module for at least a minute
Expected result: time spent on animation processes remains roughly the same
Actual result: time spent on animation processes increases continuously
Reproducible with: 2021.2.0a7, 2021.3.3f1, 2022.1.1f1, 2022.2.0a15
Not reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.2.0a6
Notes:
- The shorter the animation clip, the faster the performance cost increases
- Turning off Loop Time in the Animation tab of the Idle_Pose.fbx clip prevents this issue
- Anything that resets state time, such as jumping to or transitioning to any other state temporarily staves off the issue
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note (fix version 2022.2):
Matrix exponentiation methods for root motion extraction has been rewrite to avoid O(n3)