0 votes

Good evening,

while I was messing around with my data I unknowingly deleted an important file called "defaultbuslayout.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.getbuscount()" 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?

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".

in Engine by (18 points)

1 Answer

+1 vote

Solved it, when I deleted the file my Project>Project Settings>Application>Audio>Default Bus Layout was initialized to nothing (or the standard which includes the master bus), I just had to create a new layout, save it on the path of my choosing, and then load it in the Project>Project Settings>Application>Audio>Default Bus Layout for it to be the standard!

by (18 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.