# Why does my behaviour tree reset its task variables

**URL:** <https://forums.unrealengine.com/t/why-does-my-behaviour-tree-reset-its-task-variables/1498947>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [December 6, 2023, 7:12pm UTC](https://forums.unrealengine.com/t/why-does-my-behaviour-tree-reset-its-task-variables/1498947 "2023-12-06T19:12:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [December 6, 2023, 10:04pm UTC](https://forums.unrealengine.com/t/why-does-my-behaviour-tree-reset-its-task-variables/1498947/4 "2023-12-06T22:04:30Z")

</div>

I found a few forum topics that touch on this, with few solutions, but try this! It seems like it’s been an issue with others as well, throughout the years.

It looks like you may have extra processes running for UE. Try restarting your PC, open UE, go straight to the BT, change a variable to the correct one, save, close, reopen the project and see if that works!

> [@Behavior Tree Not Saving](https://forums.unrealengine.com/t/behavior-tree-not-saving/104188):
>
> I was trying to fix a bug for the longest time and figured out that the reason I haven’t fixed it yet is because my changes were not being saved… I have a blackboard variable that is unused. I have a service in a selector node that has the wrong variable linked. When I remove the blackboard variable and change the service node’s variable the proper one and hit save, changes are not made in game or in my files. It looks like they were made in the editor but if I close the editor and reload it…

---

_[View the full topic](https://forums.unrealengine.com/t/why-does-my-behaviour-tree-reset-its-task-variables/1498947)._
