I am having trouble setting a blackboard value from the AIController. I try to set a value, then I print out the blackboard’s value. I always get the same default Vector, no matter what value I try to set.
What’s the Target Location variable’s value when you run the code? You can put a breakpoint on BP node and once it’s hit mouse-over on pins will tell you current value.
Do you get any callstack when crashing, or can post the log? The only guess I can make at this point is one of your BB functions is out of context - did you disable context sensitivity to be able to put a specific function in? If so then don’t There’s a bug in Blueprint compiler that results in it not complaining if you’re using functions that silently take “self” as first parameter even if it’s of wrong class.
This works, but once I add the Run BT node after the final print string, my editor crashes. This happens with both the Literal Name and the variable with the correct value.
Okay, I’ve made some progress. Now I think the problem is in my BT MoveTo task. The BT and editor does not crash when I use the wait task with a TargetLocation is set decorator. But it does with a MoveTo task