blueprint runtime error access none trying to read property

im currenting trying to do a hovered for my game in the main menu. im trying to turn on spotlights on my characters when i hover over them but for sume reason i am getting this error. the full error is Blueprint Runtime Error: “Accessed None trying to read property Playercontroller”. Node: Character highlighted Graph: Eventgraph Function: Execute Ubergraph W_Characterselect Blueprint: W_characterselect. any advice on how to fix it so it works?

You are effectively not referencing or setting a reference to the player controller. If you are just using get player controller, then there is no reference to any events/functions etc that you want to call on your custom controller. Without actually seeing your blueprints or code then we have no way to actually know what your problem is.

ok how do i go about showing you what my BP look like?

Post a screenshot. Or copy/paste the nodes here and provide the link. Or post a snippet here:

image

1 Like

I created a Snippet how do i attach it to the chat? Its called Hovered

Paste the link, it’s this:

Right?


It’s somewhat hard to understand what you’re trying to do without any descriptions but this is not right:

Owning player is not a player controller. Try this:

image

And then cast.

1 Like

in that i am trying to light up a character when i hover over them. thank you ill change that and see if that fixes it. I appreciate it very much

1 Like

you are the best it fixed my problem thank you so much

1 Like