Saving a recorded AnimationClip

Discussion and help for Easy Save 3
Post Reply
VIMAGE
Posts: 7
Joined: Sun Aug 16, 2020 1:35 pm

Saving a recorded AnimationClip

Post by VIMAGE »

Hey,

I am recording the movement of my player with the "GameObjectRecorder" from unity and then saving it into an Animation Clip.

Now I would want to save that animationclip with EaseSave.
That doesn't work, because "Motion" is not natively supported and needs a custom Type as described here:

https://docs.moodkie.com/easy-save-3/es ... -is-saved/

But I just don't manage to create this for a Motion Type.

writer.WriteProperty<int>("....", instance.???);

I don't find the Properties that are needed, they all don't sound like they are acctually storing the animation.

What do I need to do to save an AnimationClip with ES3?
User avatar
Joel
Moodkie Staff
Posts: 4852
Joined: Wed Nov 07, 2012 10:32 pm

Re: Saving a recorded AnimationClip

Post by Joel »

Hi there,

Unfortunately I'm unable to assist with this as we don't have native support for AnimationClip, and cannot guarantee that it is serializable at runtime.

I recommend getting in touch with Unity to see if it's possible to serialise an AnimationClip at runtime, and if so, what fields you would need to save in order to serialise.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply