since upgrading my project to Unreal Engine 5 casting to a PlayerState is not working anymore.
As you can see in the screenshot i have the variable “Player Array” from the gamestate which holds one Player State object from type “BP_PlayerState”.
Now if i want to cast to this BP_PlayerState the cast fails. This is weird because it did work before upgrading to ue5.
I only have one Class Named “BP_PlayerState”, so choosing the wrong cast should be unlikely.
Is this a bug? Is there a workaround? Thank you very much for your help!