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

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

#19037
onbeygir
Participant

    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.