Repeating Errors While Playing In Editor
I get compile errors.What i want is working but i get all the time error.There is no problem with what i want, it works.But i get these errors while playing.
Like this.What is the reason can someone help me please ? Thank you very much. :)
asked Jun 14 '18 at 06:22 PM in Blueprint Scripting
You're trying to reference things which can not be found.
It's hard to say exactly what to fix without seeing the full graph, but you're making the assumption that there will be Actors returned in the hit event (in your screenshot). This might not occur though so you're feeding empty (or none) data into various methods which can't work out what to do, because they were expecting valid data.
I don't know if OnMouse is one of your variables, but if it is then again, you're feeding that value into something which is expecting an object (like an actor), but it's actually None (or NULL)
You should take a look at the IsValid nodes and similar to protect against these errors.
answered Jun 14 '18 at 06:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here