Issue with Replicating Inventory Contents in UE5.4 - Array of Null pointers

Thanks for the suggestion @Auran13. I have tried to change the definition of my ItemBase to inherit from AActor, and it didnt help.

I’ve been tinkering around for a while now and setting bReplicates, or even serializing the object manually or replicating each property of the AItemBase manually did not make any change either.

I have tried to create a copy of TArray<AItemBase *> InventoryContents in the PlayerCharacter and update it each time server updates it’s version from the AInventoryActorComponent, but it has also replicated only nulls.

I did try changing the array declaration to TArray<TObjectPtr>, but no luck.

Any other ideas?