Sounds won't un-pause after a delay on macOS.
I have a project with a map that acts as a level select. There is background music in this map, but if the user has just finished a level prior to entering the level select, the music is paused until a short animation plays and then the music is un-paused again. Effectively the music doesn't start until the animation has finished.
This works just fine on Windows but does not work on macOS.
I have determined that if I call "Set Paused" with pause set to false with a delay of 0.05 seconds, the music starts up again just fine. If the delay is 0.2s, the music will not play at all.
What can I do to get the music to play correctly on macOS?
I am running on UE 4.20.3, but have tried opening the project in 4.21 and have seen the same issue. I am on macOS 10.13.6.
As a work around I just discovered that if I replace all "Set Paused" calls with "Stop" and "Play" calls, the music works as expected on macOS. Obviously something is broken in the "Set Paused" implementation on macOS still though.
answered Nov 25 '18 at 05:20 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here