- Home /
What Does The Load in Background checkbox do?
When you import a sound to a project and select it, there is an option named "Load In Background" what does this means? What happens if i select it?
Does this option play the sound as background music when you enter in play mode if it is checked?
Answer by jaja1 · Sep 17, 2016 at 08:55 PM
From the unity documentation:
https://docs.unity3d.com/Manual/class-AudioClip.html
If enabled, the audio clip will be loading in the background without causing stalls on the main thread. This is off by default in order to ensure the standard Unity behavior where all AudioClips have finished loading when the scene starts playing. Note that play requests on AudioClips that are still loading in the background will be deferred until the clip is done loading. The load state can be queried via the AudioClip.loadState property.