How to stop accessing none on a reference?

Ive created an animation in a HUD umg and a custom event fires it off but when i created a reference to the custom event to fire it off the animation doesnt play and it keeps saying accessed none. Any ideas?

Hello,

I recommend performing a search in our documentation, as Accessed None errors are extremely common. I’ve gotten a search started for you that has returned quite a few threads that you can look to for answers:

https://docs.unrealengine.com/latest/INT/Search/index.html?q=Accessed+None&x=0&y=0

Just to briefly explain what an accessed none error is, it basically is just saying that whatever you are trying to reference is NULL, meaning that there is nothing stored in that location. This is usually due to a variable not being properly set. You can use an IsValid node to prevent this sort of error, as this will check if the variable is actually valid (contains a value) before it proceeds to execute the next node in your blueprint.

Have a great day