You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Came across an avatar from booth utilizing the animator's Synced layer's feature
Because synced layers have an empty state machine and are meant to reference the target layer and only provide override animations, the optimizer incorrectly assumes it's an empty layer
For reference, here is how Modular Avatar handles synced layers:
I tried fixing it with 3.9.3.
However I don't know anything about synced layers nor do I have any test case for them. Please test if this fix actually works for your use case.
@d4rkc0d3r While it now correctly references the target sync layer, it does not copy over the override states
A synced layer is the layer-equivalent to Animator Controller Overrides - when you set a layer to be synced with another, it no longer has its own state machine and instead references the target layer's. Instead it uses its builtin list of Motions and Behaviours to override the ones in the target layer
(here, EyestalkFace is a synced layer targeting Face)
^- If you'd like this view for yourself, you can use unity's Debug Internal mode - it's enabled by typing internal into Help > About Unity
Came across an avatar from booth utilizing the animator's Synced layer's feature
Because synced layers have an empty state machine and are meant to reference the target layer and only provide override animations, the optimizer incorrectly assumes it's an empty layer
For reference, here is how Modular Avatar handles synced layers:
https://github.com/bdunderscore/modular-avatar/blob/main/Editor/Animation/AnimatorCombiner.cs#L487-L488
The text was updated successfully, but these errors were encountered: