Blueprint runtime error accessed none.

I’ve created a simple chat system from a tutorial but I can’t figure out how to fix this bp runtime error :confused: It affects the chat badly as if i press to chat i can’t go back to main game and keep playing if I’ve already pressed ‘T’ For Talk on chat.
Any Ideas?
Thanks! Screenshots: http://imgur.com/a/rWaRm
NijoMeister

This error means that one of your variables hasn’t been initialized by the time you try to access it (Maybe the HUDClass variable in your screenshot). There are many causes for this, but one thing I always do is put an IsValid BP node in front of every variable access if there is a chance it could be “None” (NULL). That will make the error go away, but probably won’t fix your underlying issue.

I’ve added the IsValid Node and the error goes away but it didn’t fix the problem unfortunately because It keeps returning as not valid. Any ideas on what may cause that not coming up as valid?

Thanks!

Where is the code that sets the HUDClass? It looks like the value is not set prior to where you are trying to read the value. This isn’t that surprising since you are trying to read it in the Constructor.

did u fix this issue? im having the same problem