Reply To: Huge Lag when instantiate AI in runtime

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

#18298
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.