Reply To: Huge performance hit when instantiating an agent's behaviour

NodeCanvas Forums Support Huge performance hit when instantiating an agent's behaviour Reply To: Huge performance hit when instantiating an agent's behaviour

#9564

The culprit was ingame switching behaviours. Initially we had an idleBehaviour and a combatBehaviour to keep things separated. We tried to initialize both of the behaviours behind the loading screen but it failed. Burying the idle behaviour into combat behaviour fixed the issue.