# Blackboard key in BT service variables changes on project start

**URL:** <https://forums.unrealengine.com/t/blackboard-key-in-bt-service-variables-changes-on-project-start/462050>\
**Category:** AI\
**Tags:** Behavior-Tree, service, blackboard, unreal-engine, question, key-bind\
**Created:** [March 4, 2020, 10:46am UTC](https://forums.unrealengine.com/t/blackboard-key-in-bt-service-variables-changes-on-project-start/462050 "2020-03-04T10:46:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mistercokes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mistercokes](https://forums.unrealengine.com/u/mistercokes)\
**Post date:** [March 4, 2020, 10:46am UTC](https://forums.unrealengine.com/t/blackboard-key-in-bt-service-variables-changes-on-project-start/462050/1 "2020-03-04T10:46:00Z")

</div>

I am using a behavior tree with multiple services. In one problematic service, I use a custom enum and two boolean values from the blackboard and assign them to blackboard key selectors.  
Having the editor open, I can set them as shown in the first picture. However, on project startup the BB Started reference suddenly uses “chased” instead of “started” (see second picture).

Both variables have the same default value (“false”) but different names and descriptions in the blackboard (see key list in third picture). The service is also used a second time in the behavior tree (same selector setup), with the same issue.

![297222-behavior-tree-correct.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/2/e829581d9c1a9bef224f9d331a3e6c042a39cc12.png)

![297224-behavior-tree-startup.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/5/1a57bc2041cc4f2cf32f93a5c29aa5184c869b09.png)

 ![297226-blackboard-values.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/a/a9a9b3cd502550101edadf34cf917d6d37a06665.png)

![297227-service-details.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/2/01263814dcb7c16f92ab9898fbd7b01501eec855.png)

---

<div class="post-metadata">

**Author:** ![mistercokes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mistercokes](https://forums.unrealengine.com/u/mistercokes)\
**Post date:** [May 30, 2020, 9:23am UTC](https://forums.unrealengine.com/t/blackboard-key-in-bt-service-variables-changes-on-project-start/462050/2 "2020-05-30T09:23:42Z")

</div>

Fixed it by the following steps:

1. Remove the chased and started bools from my blackboard
2. restart the engine
3. re-adding the bool values to the blackboard and set them in the behavior tree
4. restart the engine
5. remove Blackboard Key Selector for started from the Task
6. Restart the engine
7. Re-add the Blackboard Key Selector for started and set its value to started

---

<div class="post-metadata">

**Author:** ![Alizoh](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alizoh/32/1143932_2.png) [@Alizoh](https://forums.unrealengine.com/u/Alizoh)\
**Post date:** [June 28, 2023, 2:52pm UTC](https://forums.unrealengine.com/t/blackboard-key-in-bt-service-variables-changes-on-project-start/462050/3 "2023-06-28T14:52:31Z")

</div>

I am facing this issue now with v5.2 and nothing seems to fix it, if anyone has any idea, that would be very helpful
