I found the location in UISettingsAudioComponent.cs where the music value is set to sfx, and vice versa. It is in the setup() function, which explains why it is switched every time the settings menu is opened.
After setting the music and sfx values, the player can exit the menu and the sound is reflected in the volume output. This process can be repeated over and over again with no bugs. Here is a video with proof that it works now: https://imgur.com/a/Tpa7CaU
Issue: #516
I found the location in UISettingsAudioComponent.cs where the music value is set to sfx, and vice versa. It is in the setup() function, which explains why it is switched every time the settings menu is opened.
After setting the music and sfx values, the player can exit the menu and the sound is reflected in the volume output. This process can be repeated over and over again with no bugs. Here is a video with proof that it works now: https://imgur.com/a/Tpa7CaU