Skip to main content

Project rejected by Unity Ads for not respecting physical mute button

This issue is likely due to Unity not providing a call-back to mute the audio when the mute switch is toggled on / off.

Possible solution:

  • Add Mute/Unmute functions to Luna.Unity.LifeCycle.OnMute and Luna.Unity.LifeCycle.OnUnmute events respectively:
Luna.Unity.LifeCycle.OnMute += muteGameFunction;
Luna.Unity.LifeCycle.OnUnmute += unmuteGameFunction;