Get player character return null in player controller

For some odd reason when I try to get player character to cast to my player in the player controller and set a ref, it returns null and the cast fails even though my characters parent class is “Character”.
This happens after my respawn script, which seems to work fine.

In red was a solution I tried from a video, and didnt work, in blue was the stuff I mentioned above.

If anyone can lend a hand about this that would be great!


Hi Phonics

When you respawn your character make sure you possess them otherwise the PlayerController will not know about the new character.