Search Issue Tracker

Fixed

Fixed in 1.2.x, 1.3.x

Votes

0

Found in [Package]

1.2.1

1.3.0

Issue ID

ARB-47

Regression

No

Crash on "mecanim::animation::SeekClip" and the Animators methods execution gets slower and slower when repeatedly calling the "RigBuilder.Build()" in the Player

Package: Animation Rigging

-

How to reproduce:
1. Open the “AnimRiggingOverrideControllerCrash“ project
2. Open the “Assets>BugReport>BugReport_AnimationRigging“ scene
3. Navigate to “File/Build Settings“
4. Toggle on Development Build and Autoconnect Profiler
5. Build and Run
6. Let the Player run and observe the Profiler for a few minutes

Expected result: The spikes in the CPU Usage module stay about the same size and after a few minutes the Player does not crash
Actual result: The spikes in the CPU Usage module grow bigger and after a few minutes the Player crashes

Reproducible with: 1.2.0, 1.2.1 (2021.3.41f1, 2022.3.39f1), 1.3.0 (2022.3.39f1, 6000.0.12f1)

Reproducible on: macOS 14.5 (Intel), Windows 10 Pro (22H2)
Not reproducible on: No other environments tested

Note: Some more details in the internal notes

  1. Resolution Note (fix version 1.3.x):

    Fixed a memory inefficiency in the Animator BindStreamProperty and BindCustomStreamProperty functions. These functions are used when building a Rig via the Rig Builder and would allow duplicate stream properties to be bound multiple times. Therefore calling RigBuilder.Build many times would results in a slow down then eventual crash as identical bindings would continue to be loaded into memory.

  2. Resolution Note (fix version 1.2.x):

    Fixed a memory inefficiency in the Animator BindStreamProperty and BindCustomStreamProperty functions. These functions are used when building a Rig via the Rig Builder and would allow duplicate stream properties to be bound multiple times. Therefore calling RigBuilder.Build many times would results in a slow down then eventual crash as identical bindings would continue to be loaded into memory.

  3. Resolution Note (fix version 1.2.x):

    Fixed a memory inefficiency in the Animator BindStreamProperty and BindCustomStreamProperty functions. These functions are used when building a Rig via the Rig Builder and would allow duplicate stream properties to be bound multiple times. Therefore calling RigBuilder.Build many times would results in a slow down then eventual crash as identical bindings would continue to be loaded into memory.

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.