What kind of data can be replicated?

I haven’t seen any info on this.
I have a custom object that won’t replicate and always says “NOT supported”.

LogNetPackageMap: Warning: FNetGUIDCache::SupportsObject: B_ItemObject_C /ShooterMaps/Maps/UEDPIE_0_L_Basic.L_Basic:PersistentLevel.B_Item_C_0.B_ItemObject_C_22 NOT Supported.

I assume basic values can and custom objects can’t? Or maybe certain types of values are prohibited?

This object for example contains:

  • boolean
  • int point
  • material interface
  • material interface
  • blueprint class (removed, still unsupported)
  • name
  • integer
  • enum
  • widget (probably not supported?) (removed, still unsupported)
  • float
  • lyra character part (might not be supported?) (removed, still unsupported)

I found some info…
that seems to generally imply things can be replicated if they exist on both client and server (ex. widgets don’t). Actor and component references can if set to replicate, or have the same name on client and server (not sure when they wouldn’t).

“All other UObjects (non actors or components) must come directly from loaded packages”

Not sure what that means?

plain objects never replicate on their own. only actors and components have network identity so the package map reports NOT supported for a bare UObject. basic types like bool int name and enum can replicate but they have to live inside a replicated actor or component or inside a registered subobject. widget references and material interfaces are not replicated data so remove those from the replicated object and pass them another way. you can also try Blueprint Object Replication, it lets a Blueprint object replicate with replicated variables through a host actor component: Blueprint Object Replication — Replicate UObjects in Blueprint, Iris Ready | Fab