When I was doing the car drift, the drifting sound was intermittent and I was depressed.
You can just grab a sound and loop it back and listen.
You'll notice that when the sound is played once, the second time loop is paused.
I do the car drift if the experience is very bad in the middle of the pause, so I started looking for reasons
First check the sound, no problem.
Check the code, write the test code, or no problem
Is it a u3d bug? It's not a good cycle, why is there a pause?
Later in the official document see a gapless looping (seamless loop) Parameters!!
Soga, originally had this option, thought finally can be solved
But things don't seem so easy.
Gapless looping This parameter no matter how I set it, he just can't tick
I was depressed, looked at a lot of information we all just introduced him why use, but did not say can not check this question
Am I the only one who meets? Or we have no such demand!!
Helpless, I directly change the audio of the. Mata file
Find the audio. Mata open with text, find "loopable"
It defaults to 0, manual change to 1, save back to U3d will find the audio has been checked gapless looping
Test if it really works! Well, it's really good.
Fileformatversion:2
Guid:1e8c12c16ca11524984902b8af6f86c4
Audioimporter:
Serializedversion:4
format:0
Quality:. 5
Stream:1
3d:0
forcetomono:0
usehardware:0
Loopable:1
UserData:
Although it solves the problem, it is a wonderful thing
If a small partner knows how to check gapless looping please let me know, thank you.
This article link: http://www.cnblogs.com/shenggege/p/5126651.html
Unity3d Audio Seamless Loop