Hi, I created a dynamic array in C++:
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?
I did this on my blueprint:
Code:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Replicated, Category = "Weapon Inventory") TArray<bool> WeaponInventory;
I did this on my blueprint:

Comment