Hi, I am still unfamiliar with replicating and I have been stuck on this problem for a while. In my character class, I pass self (the character) to the game state as custom player array, and I’m also trying to add the spectator camera (child actor component in character) to an array for when character dies, however it appears the replication behaviour is different? Any help is appreciated.
Character begin play:
In game state:
I print the names of the character, and locations of cameras (to demonstrate replication isnt working), from game state arrays:
Apologies for the lengthy question, I just wanted to show the whole process, because from my point of view, it should be working and client should be able to see/access the game state’s camera array. Thanks in advance.
Edit: I have fixed the problem using a workaround, I’m just looking to understand the logic