- Home /
Android audio lag issue, any way to reduce the lag?
In my game, I need to have shoot, hit, blast sound effect, and they are all less than 1 seconds. However, when the sound plays, it have lag on some specific devices.
HTC One M8: 0.4s lag
Samsung Galaxy S6: 0.4s lag
Samsung Galaxy S3: 0.4s lag
Samsung Galaxy Tab 3: no lag
iPad Air: no lag
Any idea how to solve the problem?
I already tried the following:
AudioSettings, best latency;
All audio data are wav;
All audio data are imported and compressed as PCM;
All audio data are "decompress on load";
AudioSources bypass all the effects;
There is a Android latency plugin, seems not working on new Unity, there is no sound at all;
There is another audio plugin, which have the same problem.
Answer by gnohwar · Jun 10, 2015 at 08:57 AM
Try this one: http://forum.unity3d.com/threads/android-sound-latency-fix.319943/ working fine for me, using with unity 5.
Yes, it works, but the audios $$anonymous$$UST be in the strea$$anonymous$$gAssets. Is there any other possibilities?
Not in my knowledge, as it wasn't much of a problem for me, I didn't look anywhere else.