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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
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);
};
}
}