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
- [Quality Hackweek] Activated Terrain Inspector is active only until the terrain GameObject is deselected when two or more Inspectors are open
- Physics Used Memory keeps growing when GameObject colliders are enabled and disabled
- Errors are thrown and Inspector's UI element is not drawing when a GameObject with script component using a List<T> attached is selected
- ConfigurableJoint's parameters are not saved in the Prefab after Runtime Prefab baking
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
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);
};
}
}