KybernetikGames / animancer

Documentation for the Animancer Unity Plugin.
63 stars 8 forks source link

ClipTransition lag and hanging Unity (possibly only when serialized inside an ODIN SerializedScriptableObject) #313

Closed virtushda closed 9 months ago

virtushda commented 10 months ago

Environment

Description

Serializing 'ClipTransition's in a list or dictionary inside ODIN's SerializableScriptableObject causes multiple problems. Drawing the inspector for a clip transition is extremely laggy and slow, without changing any values. More critically, adding or removing seems to trip some internal Unity undo state generation and Unity hangs forever.

KybernetikGames commented 9 months ago

Sorry for the slow response, I'm not sure why I didn't see this post.

Unfortunately, I don't have Odin so I can't replicate the issue. If you can send a minimal reproduction project to animancer@kybernetik.com.au I'd be happy to take a look at it. Otherwise, you could report this issue to the Odin devs and they should be able to replicate it with Animancer Lite.