How can I dynamically load assets when they're needed?

In the latest build of my project I added about 500MBs of music. Since by default all assets in the game are loaded when you click “Play” in the launcher, this has dramatically increased the time the game takes to load, and it even makes the game crash before fully loading on some of my friends’ PCs.

So instead of loading everything at runtime, is there a way to load music just before it starts playing? In fact, music doesn’t even start playing in my game until ~60 seconds in, so is there a way to load everything but the music at runtime and then smoothly load in the music over those 60 seconds?

You can use Resources.Load().

See the answer on this post: