Custom behavior tree services & tasks not working after editor restart

I’ve narrowed this issue down further. It only occurs when, in my service blueprint, I access a variable belonging to the owning AIController (which for me is a custom extension). It only occurs when I access variables declared in my custom controller, and not when I access any variables it has inherited. Of course I need access to my controller’s variables, so I don’t see any clear workaround.