I know Iris is still experimental, but we wanted to give it a try. We got the warning (apart of many others like it)
“LogIris: Warning: Generating descriptor for struct InstancedStruct that has custom serialization”
but I see that FInstancedStruct has some properties (ScriptStruct and StructMemory) that are not UPROPERTIES, so the standard Iris net serializer is not going to work with it.
Is there a plan to make FInstancedStruct Iris-compatible soon? (or a possible workaround)
Thanks in advance
(we are using 5.4.1, not updated to 5.4.3 yet)
that warning is accurate, instanced structs carry raw memory and a script struct pointer outside UPROPERTY coverage, so the generated descriptor cannot serialize them. on 5.4 the options are a wrapper UObject with explicit replicated fields, or per-type custom serialization that stays on the legacy path for that struct only.
keep the rest of the project on Iris and isolate the instanced struct usage behind a replicated wrapper actor, then revisit once the engine ships a compatible serializer for that type.
you can also look at Iris Readiness Kit, an Iris replication plugin that catalogs the struct types that fall back under Iris: Iris Readiness Kit — Audit Your Project Before Enabling Iris Replication | Fab there’s a shorts playlist on iris filtering basics too: https://www.youtube.com/playlist?list=PLWrCzz951TwA