Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2020.1.X
Votes
0
Found in
2018.1.0a1
2018.4
2019.1
2019.2
2019.3
2020.1
2020.1.0a23
Issue ID
1218689
Regression
No
[Preset] NullReferenceException is thrown continuously on deleting Levels of Quality settings from its preset
On deleting Levels(Very High, High etc..) of Quality Settings from its preset causes editor to throw NullReferenceException continuously also not able to delete other Levels, refer attached video.
Steps to repro:
1. Create a new project.
2. Edit > Project Settings > Quality
3. Create preset of Quality settings
4. Project > QualitySettings > Inspector
5. Delete Levels (Very High, High, Medium, etc..)
Actual Result:
NullReferenceException thrown continuously on deleting the Levels
Expected Result:
Levels are deleted gracefully without any exception thrown
Note: Preset functionality introduced in 2018.1
Tested with Unity Version:
2020.1.0a23, 2019.3.1f1, 2019.2.13f1, 2019.1.11f1, 2018.4.13f1, 2018.1.0f2, 2018.1.0a1
Environment:
Windows 10 & macOS 10.14.
Stack trace:
Retrieving array element that was out of bounds
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.QualitySettingsEditor.OnInspectorGUI () (at <14e2d4b2ee9f48738146210decad60c4>:0)
UnityEditor.Presets.PresetEditor.DrawInternalInspector () (at <14e2d4b2ee9f48738146210decad60c4>:0)
UnityEditor.Presets.PresetEditor.DrawPresetData () (at <14e2d4b2ee9f48738146210decad60c4>:0)
UnityEditor.Presets.PresetEditor.OnInspectorGUI () (at <14e2d4b2ee9f48738146210decad60c4>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <14e2d4b2ee9f48738146210decad60c4>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Add comment