Cloning a long sound causes frame loss

My friend (who isn’t on the devforums) found this issue with cloning sounds, especially long ones, which causes the client’s fps to drop. A repro place can be found here.

Steps to trigger it

  1. Open the repro place online or in studio
  2. equip the tool (this causes a sound to get cloned)

Every time you equip the tool you’ll notice a slight(depending on your computer) drop in fps.

Checking the Microprofiler you’ll see this:

And another pic, from my friend who told me about this:

This can be fixed right now with FFlagSoundLoadAsync true. Unfortunately, that causes some other stuff to break. So, working on it :slight_smile:

1 Like