How to serialize an Actor

I just want to save an actor create at runtime to disk, so I tried to serial my actor by using myActor.Serialize(Ar), Ar is Class FBufferArchive. Unfortunately, it crashed and failed. then I’m going to serialize Actor’s Component, especially StaticMeshComponent, but I don’t how to get it’s MeshDescription. Anybody knows to solve these problem? Thanks in advance!

1 Like

I’m interested in this too.

In this post ppl recommend actually not serializing the actor, but store the actor configuration.

if you can you might want to do that.

Not my case though, i really would need to persist an actor created dynamically.