List accepted variable types with Save Game?

Is there a list anywhere that shows what variable types can be saved with Save Game Object?

Is there something that cannot be saved?!

image

This is not a good idea. And saving object reference makes little sense, ofc.

Not yet no just pondering if there will be any limitations. What exactly makes little sense?

Something that doesn’t make sense to me is duplicating data inside a SG Object.

image

This. Saving actor / widget references makes no sense.

Something that doesn’t make sense to me is duplicating data inside a SG Object.

What duplication? When we’re ready to save, get all actors’ structs and add them to the struct array in the SG Object. Well, at the this point, you are copying data, sure.

When loading, you loop through the array and push structs into newly Spawned actors.


Also,

One other question, should there be one save object or split it up a bit?

Not sure, actually. I’ve yet to run into a situation where I’d need more than 1. But that’s me - never built an AAA game ;p.

1 Like

You cant save DataAssets unfortunately.