Hi ! I’m working on an inventory system. I successfully replicated UObject slot, overriding IsSupportedForNetworking() in the USlot, ReplicateSubobjects() in the ActorComponent.
When I modify them serverside, it change them clientside. I wanted to use a function (run on server only) to switch two item, called from the client on drag&drop slot, like switchItem(USlot* FromSlot, USlot* ToSlot).
But the pointer are pointing to the clientside version, the server don’t seem to make the link between them.
Is this a limitation due to the fact they are UObject or I did something wrong with the replication ?