Reply To: Huge Lag when instantiate AI in runtime

NodeCanvas Forums Support Huge Lag when instantiate AI in runtime Reply To: Huge Lag when instantiate AI in runtime

#11622
Gavalakis
Keymaster

Hello,
Could you please post a screenshot of that FSM to check it out?
Also, it’s generally much better to pre-instantiate your AI and use them when needed if possible (enable/disable), instead of instantiating them on the fly while player is playing, since unfortunately, instantiation and thus initialization will always create a bit of overhead the more complex the graphs are due to deserialization.
Thanks.

Join us on Discord: https://discord.gg/97q2Rjh