There is no OnBehaviorRestart callback when using async loading

TJHeuvel

New member
We create the component in code, and set AsynchronousLoading to true when we get items from the pool.

However after doing so we no longer recieve the `OnBehaviorRestart` callback. Our code relies on this being fired to reset some variables.

Are we doing something wrong, what callback do we recieve when a tree is loaded?
 
Seems to be a user issue. What we did is call RestartBehaviour immediately after calling EnableBehaviour, this obviously worked fine with synchronous loading but failed silently when async loading. It would be nice to have a warning logged when restarting a disabled behaviour?
 
Top