Download

Using a setter on the player state with a controller reference and it disappears

I’m doing a very simple set on the Playerstate with its Playercontroller reference on startup in a multiplayer lobby, I can see it getting set and it’s replicated but when it’s called from the client it’s blank

On BeginPlay -> Set Controller reference on PlayerState from Controller -> No errors

later

Playerstate tries to do a Run On Server on the controller using the same controller reference, but it’s blank and errors out, if I cast to it again it works fine

Event HeadScratch

Unless a controller reference can’t be replicated from the server because it needs a client reference? Multiplayer hurts my brainz