Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
AudioMixerGroupFix
Automatically assigns vanilla Sound Effects / Ambience AudioMixerGroups to custom level AudioSources that forgot to set one, fixing volume sliders and REPOLib warnings.
By Factor
| Last updated | an hour ago |
| Total downloads | 9 |
| Total rating | 0 |
| Categories | Mods Misc Audio Client-side AI Generated |
| Dependency string | Factor-AudioMixerGroupFix-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
AudioMixerGroupFix
Automatically assigns R.E.P.O.'s vanilla AudioMixerGroup (Sound/Sound Effects, Sound/Ambience, or Music) to custom level AudioSource components that were exported without an AudioMixerGroup assigned.
Why?
Some custom level prefabs contain AudioSource objects (such as Hinge Audio or Audio Loop Distance) with no AudioMixerGroup assigned, causing:
REPOLibwarnings on level load (Failed to fix AudioMixerGroup on GameObject "...". No AudioMixerGroup is assigned.)- Those sounds bypassing R.E.P.O.'s in-game SFX / Ambience volume sliders.
How it works
Patches REPOLib.Extensions.AudioSourceExtensions.FixAudioMixerGroup with a lightweight Harmony prefix:
- If an
AudioSourcealready has anAudioMixerGroup, it leaves it untouched forREPOLib. - If
outputAudioMixerGroupis null:- Names containing
loop distance,ambience, orambientreceiveSound/Ambience. - Names containing
musicreceiveMusic. - Everything else receives
Sound/Sound Effects.
- Names containing
Configuration (AudioMixerGroupFix.cfg)
General.EnableFix(default:true) — Enable/disable automatic fallback assignment.General.LogFixedObjects(default:false) — Log each fixedAudioSourceat Debug level.