Pre-loading sound files for faster scene loading

baboybaboy Member, PRO Posts: 93
Hi all,

I have this project with like 50 sound effects. my project has only 3 scenes and the sound effects are triggered individually in scene 3.

I noticed that the loading time from scene 2 to 3 is quite LONG.

My question is:

1. Are sound effects loaded individually on each scene? like if i load it on scene 1, does GS load it again on scene 2 and again on scene 3 ? Or if i load it all on scene 1, does it stay in the system memory throughout the whole game?

2. Is there a way to preload the sound effects on scene 1 so that the loading time from scene 2 to 3 will be cut?

3. If no. 2 is yes, How do you load sound files? Just place them all in one actor or you need to play them individually to get them loaded?

Thanks!

Caleb

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Sound files when uncompressed are huge the reason they are loaded and scene by scene as it would cause memory issues. I know GS changed how they do garbage collection, which is a an asset is cleared from memory to make room. How long is quite long as to time between the scenes?
Sign In or Register to comment.