I’ve created a mod that modifies supply crates using event graphs. When I run the mod in Single Player, everything works perfectly. As soon as I run it on a dedicated server, everything works except the node where the supply crates loot item set is swapped out. I’m guessing that this has something to do with authority or replication, but I’m not sure what needs to be done to correct the issue.
I have an Array of PrimalSupplyCrateItemSets that is passed to a GetArray with the index set by a RNG (It’s limited so that it always selects an index within the bounds of the array). The result is passed to a Set Item Sets Override node. Again, this works perfectly in single player, or if I host a non-dedicated server. It does not work if I run the mod on a dedicated server.
I’ve tried setting the Array to replicated, but that didn’t change the result.
Also, on another note, if I test this in the editor with 1 client, everything works. If I run it with the dedicated server box checked, the crates spawn and everything looks correct, but I can’t access the inventories.
Any help or insight would be appreciated.