Huge lag spikes from BehaviorManager

Lukas

New member
We are receiving huge lag spikes every frame, that drops FPS to 5, due to some issue originating from behavior manager. The number of AI we spawn when this starts to happen is maybe 13, so very small.

1694598270188.png
1694598645655.png
Please note this is not single frame spike, this is every frame from the point they spawn. Any idea how or what could be the issue? We have also reduced tick rate of behavior manager to improve performance, nothing has changed:

1694598323218.png
 
Last edited:
My guess is that one of your tasks is causing the spike. If you enable deep profiling you should have a better idea.
 
Last edited:
Top