I recently started to profiling my game and had a closer look at the GameThread.
Sometimes I got some peaks in the Gamethread and most of them a cause by “FAudioCommandFence_Wait” (see screenshot).
I also encountered some lags, when sounds are loaded for the first time.
Anybody got an idea what the FAudioCommandFence is waiting for? And how to fix it? (Perhaps preload all sounds? Increase Audio thread priority?)
Thanks in advance,