GC Alloc in RigBuilder.Update

Hey,

Unity Version: 2020.1.0b5
Animation Rigging: preview 0.3.3

I'm seeing GC Alloc inside RigBuilder.Update, due to the creation of an array each frame:

syncSceneToStreamLayer.Update(layers.ToArray());

Seeing this in Editor as well as standalone windows build.

Is there something I'm doing wrong that's causing this? Or is this something that will be improved in a future release?

1 Like

Good catch!
Indeed RigBuilder.Update shouldn't be doing GC allocs...
We'll fix this in an upcoming release of Animation Rigging.

Awesome, thanks!