In UE5, the Set Blackboard Value as Vector node does not work inside a custom task. If replace it with Set Value as Vector, as shown in the figure and set the Key Name value to the variable name in Blackboard, then it works.
Why is that?
You might have already done this, but without enough information, I have to make mention of this.
When youāre using SetBlackboardValueAsVector, you have to pass the variable in from the BehaviorTree via the taskās details panel. So that variable has to be āInstanceEditableā so that you can see it when you select your task in the behavior tree. From there, you identify the actual Blackboard variable you want to use and pass it in (as a reference). Otherwise the task is setting an empty variable (reference) to that value, and your Blackboard doesnāt know.
Thanks! Helped. This Behavior Tree has a strange implementation logic.
Thanks!Very Helpful!
Thank you so much!
It still doesnāt work after I set the Blackboard Value to InstanceEditable. It also does work to me when using Set Value as Vector.