cast to custom player state always fails??

Might be wrong but don’t you have to get PlayerState from GameState?