R.E.P.O.
Install with App

Details

Latest version
1.0.0
Last Updated
First Uploaded
Downloads
53
Likes
0
Size
25KB
Dependants

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:

  • REPOLib warnings 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 AudioSource already has an AudioMixerGroup, it leaves it untouched for REPOLib.
  • If outputAudioMixerGroup is null:
    • Names containing loop distance, ambience, or ambient receive Sound/Ambience.
    • Names containing music receive Music.
    • Everything else receives Sound/Sound Effects.

Configuration (AudioMixerGroupFix.cfg)

  • General.EnableFix (default: true) — Enable/disable automatic fallback assignment.
  • General.LogFixedObjects (default: false) — Log each fixed AudioSource at Debug level.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.