Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Sound files in Resources folder cause lag

Discussion in 'Editor & General Support' started by herbie, Sep 16, 2016.

  1. herbie

    herbie

    Joined:
    Feb 11, 2012
    Posts:
    237
    Hi,

    I have an android game with about 50 small .ogg sound files in the Resources folder (total size about 1MB).
    I also have an animation (something like an sandglass) that is played while the game is starting up.
    The loading of these sound files cause a lag in the start-animation. The animation freezes for a while (actually the complete device freezes). When I delete the sound files, the lag is gone.
    Almost all files are Decompress on load and not 3D sounds.

    Can I do something about this lag so that I have a start-animation that not freezes?