# Unreal Docs Tutorial Behaviour Tree incomplete?

**URL:** <https://forums.unrealengine.com/t/unreal-docs-tutorial-behaviour-tree-incomplete/1275523>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, question\
**Created:** [August 28, 2023, 4:18pm UTC](https://forums.unrealengine.com/t/unreal-docs-tutorial-behaviour-tree-incomplete/1275523 "2023-08-28T16:18:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaFuzz72](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaFuzz72](https://forums.unrealengine.com/u/DaFuzz72)\
**Post date:** [August 28, 2023, 4:18pm UTC](https://forums.unrealengine.com/t/unreal-docs-tutorial-behaviour-tree-incomplete/1275523/1 "2023-08-28T16:18:02Z")

</div>

I’m trying to learn about Behaviour Trees and I thought the best place to learn this would be the official Unreal engine documentation. ([Behavior Tree Quick Start Guide](https://docs.unrealengine.com/5.2/en-US/behavior-tree-in-unreal-engine---quick-start-guide/)

Unfortunately, I did the course twice in a new project and both times I get the same result.  
The AI enemy remains in place and when I check the Behaviour Tree, it just flashes between Patrol and Wait, without even looking at the Chase player node.

I think I did the course to the letter, but I might be wrong.

First off, there’s this point in the page that is completely unclear for me.

 ![Website](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/f/fbf791b9fb10a4e8e1d289271a339ef94f2bdc37.png)  
I think it might have been obvious if the picture was uploaded there.

Below here are the Blueprints I created, which I think are similair to the Blueprints in the tutorial, but maybe I overlooked something.

 ![BehaviourTree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/2/35207dc6bb03e06d09ce382051797ef29446496b.png)  
 ![BTT_ChasePlayer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/8/f28c5ae9a7c008beb93fd7350fd2f24c52788151.png)  
 ![BTT_EnemyController](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/0/c60005d631a02eeb2ab8ea4a19e4ff16a94e762e.png)  
Shouldn’t there be a Finish execute node?  
 ![BTT_FindRandomPatrol](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/0/6e0f574d7327b4a96a87025aa276f9182e4a6b99.png)  
 ![EnemyController](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/e/b5ec564bbccf2b8afa5e0c37edd5b4489db6d473.png)  
Shouldn’t there be a Finish execute node?

can someone explain to me what I did wrong, or maybe update the course so it becomes apparent what needs to be done to build a basic AI.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![d.gibson1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@d.gibson1](https://forums.unrealengine.com/u/d.gibson1)\
**Post date:** [November 24, 2023, 11:42pm UTC](https://forums.unrealengine.com/t/unreal-docs-tutorial-behaviour-tree-incomplete/1275523/2 "2023-11-24T23:42:59Z")

</div>

The tutorial is buggy/incomplete, which has been [known](https://forums.unrealengine.com/t/behaviour-tree-task-node-vector-keyvalue-in-blackboard-invalid/138901) [for](https://forums.unrealengine.com/t/behavior-tree-quick-start-guide-not-working/210583) [years](https://forums.unrealengine.com/t/behavior-tree-quick-start-guide-part-5-is-out-of-date/620644) - unfortunately Epic doesn’t seem to provide a way to report bugs in tutorials, except for this forum which they apparently don’t read.

Anyway, regarding the tag, open `Content/ThirdPerson/Blueprints/BP_ThirdPersonCharacter`, and on the right, find “Tags” under “Actor”, and add one that says “Player”, like this:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/a/a3a343bcbba1097b406ec121aa28f5c26c10c13d.png)

(see also the [4.27 version of the tutorial](https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/ArtificialIntelligence/BehaviorTrees/BehaviorTreeQuickStart/#7-decoratorandfinalsetup))

Apart from that problem, the tutorial fails the mention in [Step 5.5](https://docs.unrealengine.com/5.3/en-US/behavior-tree-in-unreal-engine---quick-start-guide/#5-tasksetup-findrandompatrol) that the added `PatrolLocation` variable must have “Instance Editable” enabled (like PatrolRadius), and that after compiling+saving it, you need to open the `BT_Enemy` behaviortree, where you need to select `BTT_FindRandomPatrol` and, in the “Details” tab, need to set `Patrol Location` to “PatrolLocation” (it seemed to default to “SelfActor”?!).

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/c/01c4954a19053a3346f5a178f66b848ad2e5730c.png)

(Probably this reply is too late for you, but hopefully it helps someone else who stumbles upon this problem, like I did today)
