Behavior Tree quick start problem
I was reading Behavior Tree quick start... When I finished it, I tested it, but found, that CloseEnough Method don't work: I got an error: Error Accessed None 'CallFunc_GetBlackboardValueAsActor_ReturnValue' from node Print String in graph 'PerformConditionCheck' in blueprint CloseEnough
I tried to check it using Print Screen, but still, I didn't found the error...
What could be the problem? I made everything (or most everything) just like it was written in the Quick Start
with best regards,
asked Jun 14 '15 at 07:17 PM in Blueprint Scripting
I haven't seen the quick start Guide so I don't know the setup, however it seems that your blackboard entry for the actor is empty. There should be a blueprint service running somewhere in the tree, one should have a function to update the blackboard value - sounds like this isn't happening for some reason.
An example: You have a service running, let's call it CheckAgroRadius, to run a ray trace for enemies within a certain radius. If the trace returns a hit, take the actor it hit and connect it to the target "set blackboard value as actor" with your appropriate key set.
If you have something like this, make sure that
Apologies for the lack of screen shots as I'm currently on mobile.
answered Jun 15 '15 at 07:34 PM
Just ran into this as well, and the problem was that the decorators were in the wrong order. Make sure you add the blackboard decorator first, followed by the CloseEnough decorator. As boyty01 mentioned, the blackboard decorator should stop the CloseEnough from running at all if TargetToFollow is not defined.
answered Jul 08 '15 at 07:16 PM
Im getting the exact error and My CloseEnough behavior decorator says UnknownDecorator. I have checked and rechecked the graph and found one problem that I can not figure out.
answered Jul 23 '15 at 10:59 PM
I am getting the error despite having the decorators in the right order:
answered Aug 04 '15 at 05:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here