I believe it’s because Self simply returns the character. What you want is the AI Controller of character. This is assuming that the AI Controller is what runs the Behavior Tree, but this should work.
This is assuming that BPGoomba already has a specified AI controller before being Spawned or Places into the world, and that it’s allowed to be possessed by that controller (check the Class defaults of BPGoomba).
