Search Issue Tracker
Fixed
Fixed in 6000.1.0b15
Votes
0
Found in
6000.1.0b14
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
- WebGPU errors when CoreCopy shader is used to copy an MSAA texture
- Unity Cloud icon does not appear next to project and does not connect correctly when the project is created with Cloud but closed right after creation
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
Resolution Note:
Postponed port
Resolution Note (fix version 6000.1.0b15):
Editor: Fix exception thrown when changing Shader Precision Model in Player Settings.