Old Sound instances causing lag spikes

Сame across a strange problem related to lag spikes in my game when hovering over buttons in the game menu and using a gadget. What’s strange is that lags appeared only on one single map in the game (the largest one compared to others), in other places there were no lags. The menu and gadget used the old sound system (other gadgets with the new Sound API did not create lags when used). Another thing I noticed is that lags seem to appear when the sound has finished playing.
Dump: microprofile-20240819-173925.html (2.5 MB)
Video: https://youtu.be/ZAIK_3sVNew

A private message is associated with this bug report

1 Like

Hey @MisterEnderBoom – this sounds very similar to this report

We found a bug in the audio engine that causes specifically Sound:Stop() to get slow when there are many SoundGroups, AudioPlayers, AudioTextToSpeech, AudioAnalyzers, or VideoPlayers elsewhere

A fix for that should be going out next week

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.