Question by
valeriopavan · Mar 09, 2020 at 07:11 AM ·
profilerperformance optimizationenemy ai
AICharacterControl Spike in Profiler
Hello,
I Have this problem for a while. I'm using a Pooling system for Enemies. When the player enters a trigger, enemies are spawned. The 'awakening' of enemies (they become 'Active' gameObjects) causes a spike in the profiler (see picture attached).
Someone can help me to fix this? Thanks! Valerio
aicharcontrol.png
(174.1 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612224629im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Horrible Lag spike when Looking at an object that's showing GUI 1 Answer
GameView.GetMainGameViewTargetSize() problem 0 Answers
How to know what to focus on for performance enhancement? 1 Answer
Massive Rendering spike in profiler when unloading the scene 0 Answers
Performance Problem: Unaccounted time between: LateBehaviourUpdate and CanvasRenderer.SyncTransform 2 Answers