- Home /
Loading music for initial scene loading takes a very long time
Hi, without loading music in my game, the main scene takes about 0.2 seconds to load. But with music (about 10 tracks or so), it takes about 10 seconds. This is a huge increase in load time. Is there any way to load the music in a way that doesn't take so long? The way I'm doing it currently is drag/dropped the tracks into an array handled by one of the objects in the scene, via editor.
There must be some way to load the game without spending so much time loading the music, or else music players such as quicktime or windows media player would always stall out for 2 seconds before playing anything.
Answer by MaxLohMusic · Apr 01 at 09:46 PM
Click on all the music assets and look at the inspector. Change it to "compressed in memory" or any option other than "decompress on load".
Your answer
Follow this Question
Related Questions
How To trim audio run time in game? 1 Answer
C sharp cant play Audio 2 Answers
Stream music in Unity mobile 0 Answers
Audio Source will not "unmute" after toggling? 2 Answers
Audio Questions 0 Answers