Behavior Tree not saving propertly

I can’t get some behavior tree key values to save after restarting editor.

e.g.

I set the key value here:
image

I save Behavior Tree, Save All (just in case). Restart Editor… and I see this again:
image

Note this seems to happen at random, with random nodes, some are saving fine some aren’t.
I’ve tried deleting and re-adding the node, it doesn’t fix the problem.

I don’t have multiple instances of Editor or live coding or anything like that.

This is running in UE5.1.

Looks like deleting the KeyLocation variable in the task blueprint, and then re-creating it fixed the issue. Probably something is off with serialization, I believe this may have been caused by renaming tasks.

1 Like