Getting "Accessed none" when trying to remove widget from parent

I’m trying to display a “Press [E] to use door” prompt when the player comes into the proximity of the door, and then removing it when the player isn’t. I’m getting an error with my blueprint and it’s been giving me a headache. The error says “Accessed None trying to read property EOpen (the variable)” on my Remove From Parent node.


I noticed that the return value of the “Create Widget” node is none. If someone could help me out, I would really appreciate it, as I’m new to UE4. Thank you!

The begin and end overlap component nodes are quite flakey. If you just connect print strings to them, you’ll see they trigger multiple times.

So you need to account for that with DoOnce, which you nearly have, but not on end overlap :slight_smile:

1 Like

But you do see the widget, right? Is it possible that you start in the overlap box and the begin overlap never triggers?

Oh my god, LOL!! That was it! I didn’t know it was that simple, thank you so much! I had my player start overlapping the box for some reason, so I moved it and got no errors.

1 Like

I have noticed that as well…and DoOnce is the trick eh?