Search Issue Tracker
Fixed in 2018.3.X
Votes
2
Found in
5.3.0b4
Issue ID
739081
Regression
No
Mute audio option state isn't saved and is always disabled when editor is reopened
This works in current trunk version, no idea when it was fixed, but probably quite a long time ago.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
WillemKokke
Jul 19, 2016 22:46
I find this slightly annoying as well, so I've written the following editor script to do this for me:
using UnityEditor;
[InitializeOnLoad]
public static class EditorMuteAudioState
{
static EditorMuteAudioState()
{
EditorUtility.audioMasterMute = EditorPrefs.GetBool("WKGameViewAudioMute", false);
EditorApplication.playmodeStateChanged += () =>
{
EditorPrefs.SetBool("WKGameViewAudioMute", EditorUtility.audioMasterMute);
};
}
}