Hello, I am trying to find a good way to replicate the contents of a chest. So far my idea is this:
When a player moves near a chest, server replicates all items that are in it, in case he interacts with it. If the player opens the chest, the client will get all actors of items, and check if the the item is in the chest. If it is, add an icon in the UI.
The problem with this approach is that players that do not have access and just walk by will get unnecessary data. Is there a way to replicate the items only to the people who interact with it?