Server-ran player array cannot access client player state variables


Each player state keeps track of the number of keystones collected by their player. However, the printed value of the keystones collected from the function in the picture shows different numbers, as if the server cannot access client player states. I tried turning replication on for the variable “keystone collected”, double-checked that the value in the player states themselves change accordingly, and also tried the server-ran multicast. None of it is working T-T

Hey there @Cyfin1! Welcome to the forums! So just for clarity, you’re checking at runtime that the clients values are set correctly on the clients side, but it hasn’t been replicated to the server right?

I’d use RepNotifies to then show values when they change and that may help us determine where it’s not notifying.

Could I see where the Keystones Collected variable is set and the components replication values?

1 Like