Audio(SFx) are played a bit late, issue

Hi, 

I have a game that is ready to be published, but the only problem left is the sound delay, 

the sound is played when a collision happens, but a bit late, in simulator everything is fine, I’m talking about when playing the game on a device (android)

Hi @hammod-930,

I assume you’re pre-loading the sound before you attempt to play it? Even then, audio lag on Android is a known issue, and if this is a potentially game-breaking issue, you might want to explore using the media.* library audio functions which typically exhibit much less lag/latency issues on Android. There’s less control and convenience functions with the media library functions, but it should work fine for basic audio playback.

Take care,

Brent

Hi @hammod-930,

I assume you’re pre-loading the sound before you attempt to play it? Even then, audio lag on Android is a known issue, and if this is a potentially game-breaking issue, you might want to explore using the media.* library audio functions which typically exhibit much less lag/latency issues on Android. There’s less control and convenience functions with the media library functions, but it should work fine for basic audio playback.

Take care,

Brent