# Behavior tree changes values when I open the editor.

**URL:** <https://forums.unrealengine.com/t/behavior-tree-changes-values-when-i-open-the-editor/754513>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [January 22, 2023, 6:16am UTC](https://forums.unrealengine.com/t/behavior-tree-changes-values-when-i-open-the-editor/754513 "2023-01-22T06:16:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stratego](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stratego/32/564611_2.png) [@Stratego](https://forums.unrealengine.com/u/Stratego)\
**Post date:** [January 22, 2023, 6:16am UTC](https://forums.unrealengine.com/t/behavior-tree-changes-values-when-i-open-the-editor/754513/1 "2023-01-22T06:16:44Z")

</div>

Hi, I have a behavior tree with values like TargetLocation and TargetAactor. When I reopen the editor the values are all set to SelfActor (the default value when creating a BB) I thought it was a 5.03 bug but its still doing it sometimes on 5.1

---

<div class="post-metadata">

**Author:** ![Stratego](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stratego/32/564611_2.png) [@Stratego](https://forums.unrealengine.com/u/Stratego)\
**Post date:** [January 23, 2023, 12:06am UTC](https://forums.unrealengine.com/t/behavior-tree-changes-values-when-i-open-the-editor/754513/2 "2023-01-23T00:06:49Z")

</div>

Bumpy! Bumpy!

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [January 23, 2023, 12:13am UTC](https://forums.unrealengine.com/t/behavior-tree-changes-values-when-i-open-the-editor/754513/3 "2023-01-23T00:13:44Z")

</div>

Did you set your blackboard in either your behavior tree or in you ai controller?

The blackboard holds the values not the behavior tree.

---

<div class="post-metadata">

**Author:** ![Stratego](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stratego/32/564611_2.png) [@Stratego](https://forums.unrealengine.com/u/Stratego)\
**Post date:** [January 24, 2023, 1:40am UTC](https://forums.unrealengine.com/t/behavior-tree-changes-values-when-i-open-the-editor/754513/4 "2023-01-24T01:40:29Z")

</div>

Yes the values are in the Blackboard and the values in the tasks are also set to be visible by the Behavior tree.

Edit: I’ve been working with BT for a few years and I haven’t done anything different with this BT/BB that I know of.
