Need help with "Accessed None trying to read property [character reference]"

Hey @Ruupi123!

Simply setting your variable’s type to “BP Third Person Character” isn’t enough.

To reference the character, you’ll need to use the set type node of your variable, and connect it’s input pin to the output pin of the correct Cast To node like this:

In this context, you’ll always wanna connect the Object pin to either Get Player Character or Get Player Pawn. But if we weren’t casting to the player character, what to plug into the Object pin would depend on how we expect the player to interact with the actor. Here are some examples:

Hope this helps! :innocent:

2 Likes