and I replicated it using the DOREPLIFETIME macro. The problem is that if I try to set an array element from a Blueprint, I can set it only on the client, because on the server it doesn’t work. Why?
The only work around I found for this is using the Set Members In node, which allows you to modify a variable by reference. If you simply get the object out of the Array by index, then Set Members In. This will expose the variable of the Array Element, allowing you to update it.
We probably need a developer to help us out with this. It seems kind of complex for the average user.
This is very important for us to keep up the workflow and get the inventory system working properly.
Items to be replicated should be behind a “has authority” node. In other words, on the server side only. Vars changed on the client wont replicate to another client. The Content Examples has a good explanation of this