# Observer aborts not aborting in behavior tree

**URL:** <https://forums.unrealengine.com/t/observer-aborts-not-aborting-in-behavior-tree/360867>\
**Category:** AI\
**Tags:** Behavior-Tree, decorator, unreal-engine, question\
**Created:** [June 15, 2016, 1:22pm UTC](https://forums.unrealengine.com/t/observer-aborts-not-aborting-in-behavior-tree/360867 "2016-06-15T13:22:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LimasseFive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/limassefive/32/910458_2.png) [@LimasseFive](https://forums.unrealengine.com/u/LimasseFive)\
**Post date:** [June 15, 2016, 1:22pm UTC](https://forums.unrealengine.com/t/observer-aborts-not-aborting-in-behavior-tree/360867/1 "2016-06-15T13:22:12Z")

</div>

Hi,

After switching from v4.10 to 4.12 I noticed the behaviors tree not working as usual: observer aborts in decorator is indeed not aborting anything.

As find in this topic, the abort function still works if it’s set in the decorator blueprint, but do nothing if set in the behavior tree: [https://answers.unrealengine.com/questions/434212/behavior-tree-decorator-node-property-is-not-worki.html](https://answers.unrealengine.com/questions/434212/behavior-tree-decorator-node-property-is-not-worki.html)

Does anybody have the same issue?

---

<div class="post-metadata">

**Author:** ![LimasseFive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/limassefive/32/910458_2.png) [@LimasseFive](https://forums.unrealengine.com/u/LimasseFive)\
**Post date:** [June 15, 2016, 2:56pm UTC](https://forums.unrealengine.com/t/observer-aborts-not-aborting-in-behavior-tree/360867/2 "2016-06-15T14:56:08Z")

</div>

Just tried on a new project, same issue.

Here the reproduce steps:

1. News thirdPerson project
2. Create Blackboard: BB\_AITEST with a key type object: TargetToFollow
3. Create Behavior Tree: BT\_AITEST and  
set BB\_AITEST as blackboard
4. Create Ai controller:  
TPC\_AIController, add a run behavior  
tree node set with BT\_AITEST after  
Event beginplay
5. Duplicate the third person character  
and remove all code in eventgraph  
blueprint: TPCAI, set  
TPC\_AIController as AI Controller  
Class in properties.
6. Create BTS\_GetTargetToFollow and  
BTD\_IsNearToPlayer (see attached  
picture)
7. Add behaviors tree nodes as show in  
the attached pictures,  
BTD\_IsNearToPlayer should be set on  
abort self.
8. Place an AI character in the map and  
a nav bound volume.
9. Run the game, if you go away from  
the AI, you’ll notice it the AI will  
wait until the end of wait time  
before moving toward the player:  
abort self not working.
10. If you change the abort to self  
directly in the BTD\_IsNearToPlayer  
blueprint properties, it works and  
the AI follow you as soon as you go  
too far away.

 ![94717-behaviortree.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/7/0/e702e6959f2db0c9575219020cc41402a7bbf4f3.jpeg)

 ![94718-bts_gettargettofollow.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/d/e3da3057f29c87d9106b4477912a785524fa3f60.jpeg)

 ![94719-btd_isplayernear.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/b/d5b21233e5c41e4967be4b89f1b7d1de6fa142a7.jpeg)

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [June 15, 2016, 7:49pm UTC](https://forums.unrealengine.com/t/observer-aborts-not-aborting-in-behavior-tree/360867/3 "2016-06-15T19:49:38Z")

</div>

Hello,

I have been able to reproduce your issue, and have entered a bug report, UE-32077. Thank you for your report, and for providing repro steps.

Have a great day

---

<div class="post-metadata">

**Author:** ![LimasseFive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/limassefive/32/910458_2.png) [@LimasseFive](https://forums.unrealengine.com/u/LimasseFive)\
**Post date:** [June 20, 2016, 8:31am UTC](https://forums.unrealengine.com/t/observer-aborts-not-aborting-in-behavior-tree/360867/4 "2016-06-20T08:31:05Z")

</div>

As far as I can say it’s fixed with last update: 4.123.
