Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Audio About "Load In Background"

Discussion in 'Audio & Video' started by seec1, Mar 12, 2018.

  1. seec1

    seec1

    Joined:
    Jun 6, 2016
    Posts:
    11
    Dear all,

    In my project, I must load big audio files in the runtime.
    With the normal way, When I load an audio file, the game will be freeze in a short time. So I think I must load the audio file in a new thread, and show something like an indicator activity.
    I read in unity's document about "Load In Background" properties, it writes: If enabled, the audio clip will be loading in the background without causing stalls on the main thread.
    But when I checked, Game still be freeze.
    This is my setting:



    Any idea about this case, and how to solve it.

    Thank you very much
    P/s: I using Unity 2017.1.3f1.