-
Notifications
You must be signed in to change notification settings - Fork 80
Description
https://github.com/sinbad/SPUD/blob/master/doc/props.md#supported-property-types
The following property types are fully supported as individual items, but have caveats for arrays and maps:
- Custom UStructs
- Nested UObject instances (null preserving, will re-instantiate based on property type)
- Nested components marked as SaveGame
All other property types - Maps, Sets, arrays of Custom UStructs or UObjects are supported but are not quite as functional. Due to their added complexity, they are serialized as "opaque" records using UE's own internal serialisation methods. This means SPUD doesn't "look inside" them, it just saves/restores them as a blob, and cannot support SPUD's additional special processing such as retaining links between actors in these properties. But for simple stand-alone state retention, they will work.Maps, Sets, arrays of UObjects are not supported anymore due to changes in recent UE 5.x archive class hierarchy. We used to fall back on UE's own serialisation but that is no longer possible. If you need to use these structures then you will need to use custom data (see below). Arrays of custom UStructs should be ok though.
If I'm reading this correctly, since the paragraph is now strikethrough'd, arrays and maps of Custom UStructs and Nested SaveGame Comps do not have caveats and therefore should be included in the "fully supported" properties list? And the only remaining caveat case is for Nested UObject instances? Please correct me if I'm wrong.