Search Issue Tracker
Fixed
Fixed in 6000.1.0b15
Votes
0
Found in
6000.1.0b14
7000.0.0a35
Issue ID
UUM-102356
Regression
Yes
Changing Shader Precision Model Triggers NullReferenceException in Project Settings
Steps to reproduce:
- Create a new project
- In Project Settings, go to Player > Shader Settings
- Change the "Shader Precision Model" option to either Unified or Platform Default
- Observe the Console Window for any errors
\\
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:
{code:java}
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)
{code}
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
- Inconsistent Placement of Search Clear (X) Icon in "Preset Manager"
- Gradient Editor window bottom-right gradient marker color is incorrect
- MaskField tooltips should only display Value when bound
- Reordering Enum Values in VFX Graph Uint Property expands the “Value” field
- Visual Effect Graph sample titles display in non-human-readable format
Resolution Note:
Postponed port
Resolution Note (fix version 6000.1.0b15):
Editor: Fix exception thrown when changing Shader Precision Model in Player Settings.