Accessed none read error (+ line trace)

So okay I know that the error occurred when I do make more events trigger the same thing as answered here https://answers.unrealengine.com/questions/174115/accessed-none-error-from-node.html . But I use a Line Trace here and tried everything. I promoted parts of the break hit result to variables (did not work), did the same thing differently through external variables (did not work). The only thing that helped was disconnecting the right mouse button event but of course than it does not work. The error always tells me to look at the branch that is checking if the thing has a tag to it. Please help me!

Okay, I just tested this out to make sure. And if you’re using BSPs… then it will hit BSPs and ■■■■ out on you, since it’s not an actor. But any non-actor will make that error pop up on hit.

Basically, you can just put an IsValid node right after the LineTrace and before the Branch to make sure that you are only targeting Actors.

GIF:

IsValid Pic (since gif res is too op):

Wow that easy, thank you very much for helping me so fast !