There’s something I’ve been debugging for a while and I just realized that the reason I’m not making any progress is because the behavior tree file is not actually saving. It appears to be saving and if I close the file and open it again in the same instance the changes are there. However, if I close the editor and reopen it, the changes were not made. This is especially odd because my editor does not give me any warnings about unsaved files when I attempt to close it because it thinks it did save the behavior tree file.
The two changes I’m trying to make are
- Remove an unused variable from the Blackboard
- Change a variable in a service so that TargetLocation points to TargetLocation instead of TargetLocation pointing to TargetFollow
When I make these changes and run I can see from breakpoints that the key is still referencing TargetFollower instead of TargetLocation meaning that in runtime (or if I close and reopen) it is not using my changes.
edit: I forgot to mention, I’ve tried using save all instead of just saving the behavior tree. It still doesn’t actually save.