Copyright © 2026 Unity Technologies
Postponed port
Editor: Fix exception thrown when changing Shader Precision Model in Player Settings.
Steps to reproduce:
Actual results: NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
Expected results: No warnings or errors should be thrown when changing the shader precision setting
Reproducible with versions: 6000.1.0b13, 6000.1.0b14
Not reproducible with versions: 2022.3.60f1, 6000.0.43f1, 6000.1.0b12, 6000.2.0a7
Tested on (OS): Windows 11
Few lines of error:
NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
UnityEditor.SerializedProperty.get_propertyType () (at <7dc09cc2bf074b4aa413cc9edf45498a>:0)
UnityEditor.EditorGUILayout.IsChildrenIncluded (UnityEditor.SerializedProperty prop) (at <7dc09cc2bf074b4aa413cc9edf45498a>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, UnityEngine.GUILayoutOption[] options) (at <7dc09cc2bf074b4aa413cc9edf45498a>:0)
UnityEditor.PlayerSettingsEditor.OtherSectionShaderSettingsGUI (UnityEditor.Build.BuildPlatform platform) (at <7dc09cc2bf074b4aa413cc9edf45498a>:0)
UnityEditor.PlayerSettingsEditor.OtherSectionGUI (UnityEditor.Build.BuildPlatform platform, UnityEditor.Modules.ISettingEditorExtension settingsExtension, System.Int32 sectionIndex) (at <7dc09cc2bf074b4aa413cc9edf45498a>:0)
Issues you vote on will appear here