Godot Version
4.2.1 mono and 4.3 mono
Question
Hi, I am having a problem with exporting my game with background audio.
I started on 4.2.1 mono with my background audio being handle in an Autoload GameManager node that has a child AudioStreamPlayer. In my Audio Bus layout, I had three buses: Master, BGM, and SFX. Everything was working in the IDE, and I wanted to export my game since I was done with my project. However, when I export my game, my background music did not play, but my sound effects worked. I played around with the settings, and still nothing. When I tried Googling, I did not receive much help.
I went to the Godot Discord server for help, they recommended me to use this fix: Array of audio files working in editor but not when exported - #3 by system. Same results - sound effects worked, background music did not. After mentioning that I haven’t upgraded to 4.3, the users thought it might be worth a shot. Same results.
I tried separating the BGM AudioStreamPlayer to a separate scene (BackgroundPlayer.tscn), having the bus be both Master and SFX, replacing BGM, place BackgroundPlayer in each level scene, and messed with more export settings. Same results - Background Music and SFX working in IDE, only SFX working exported. I feel like I’ve tried everything that I can think of and then some.
Can anyone help me on what is going on? I feel like I am running into a brick wall trying to figure out why my background music is not playing when exported, but it is playing while in the IDE.
Thanks.