How do I fix this error message?

Hi Everyone,

I am having an issue with my blueprints.

I am trying to trigger dialogue when looking at an object.

I started setting up a system in the first person character blueprint

I then worked on a system in my level blueprint (there are four of these systems set up simultaneously)

When hitting esc out of the simulation, I get an error warning that pops up directing me to a branch node in a standard macros.


I’ve tried adding delay and a isvalid? nodes but they don’t seem to do anything.

Thank you!

I’m guessing you’re casting somewhere, where is that?

1 Like

Maybe the “HitActor” is None and thus the GetDisplayName input is none and is causing the error???

Maybe delete the exec line from “Event Tick” and see if you code runs with, or without, the error. If without the error, it is something you are showing. If you still get the error, there is a problem somewhere else other than the code you are showing.