Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | HolyCross |
Good evening,
while I was messing around with my data I unknowingly deleted an important file called “default_bus_layout.tres”. This was an important file because it structured the layout of my buses:
-(0)Master bus
-(1)MusicVolume bus
-(2)EffectsVolume bus
I realized of its important when running my code.
The music and the sound effect were there, but the index of my Music and Effects buses weren’t. I thought that maybe the index was changed, but by printing the number of available buses with “AudioServer.get_bus_count()” the output was 1.
I tried re-doing the buses hierarchy from scratch and saving the file, but nothing, the number of available buses is still 1.
What’s happening?
P.s.
On my “Audio” section of the Godot IDE the three buses ARE there, and I can still attach audio stream players to both “Music Volume bus” and “Effects Volume bus”.