Behavior Tree: Setting Vector Value in Service crashes Game + Editor

When I try to set a Vector value in a Service, I can’t start the game. As soon as I hit ‘play’, the game crashes.

My Behavior Tree:


My Service:


I’m using version 4.7.2, it already failed in 4.7.1.

I don’t know what else to say… Am I doing something wrong here?

This blueprint code should never compile :confused: Get Blackboard's Target pin defaults to “self”, but expects an Actor parameter - instead it gets your blueprint instance force-cast to actor. I’ve reported it as a high priority issue.

All you need to do to fix this is to use Owner Controller as Get Blackboard's Target. Or use Set Blackboard Value As Vector function that doesn’t require you to specify a blackboard component - it automagically extracts it from BT’s owner.



Ah, that’s it!

Thank you clearing this up and also thank you for your AI tutorials! Keep it up!