Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
2.5.4
Issue ID
REC-563
Regression
No
NullReferenceException is thrown on deleting RecorderSettingPreset
On Creating Preset of RecorderSettingPreset and then after deleting 'RecorderSettingPreset' and selecting 2nd preset causes editor console spam with NullReferenceException. Refer attached video and stack trace. Steps to reproduce:
1) Create a new project
2) Window > Package Manager > Install Unity Recorder
3) Recorder burger menu > Save Recorder list
4) Select RecorderSettingPreset > Inspector > Create Preset
5) Preject >Delete Select RecorderSettingPreset and select 2nd Preset Actual result: NullReferenceException is thrown on deleting RecorderSettingPreset. Expected result: On deleting RecorderSettingPreset, no error should be thrown in console. Occurring in: 2021.2.0a5, 2021.1.0b7, 2021.1.0a1, 2020.2.3f1, 2020.1.17f1, 2019.4.16f1 with pkg version Version 2.5.4 Environment: Both Windows and Mac Stack Trace: NullReferenceException: Object reference not set to an instance of an object UnityEditor.Recorder.RecorderControllerSettingsPresetEditor.OnInspectorGUI () (at
[Library/PackageCache/com.unity.recorder@2.5.4|mailto:Library/PackageCache/com.unity.recorder@2.5.4]
/Editor/Sources/RecorderControllerSettingsPresetEditor.cs:48) UnityEditor.Presets.PresetEditor.DrawInternalInspector () (at /Users/bokken/buildslave/unity/build/Modules/PresetsEditor/PresetEditor.cs:303) UnityEditor.Presets.PresetEditor.DrawPresetData () (at /Users/bokken/buildslave/unity/build/Modules/PresetsEditor/PresetEditor.cs:119) UnityEditor.Presets.PresetEditor.OnInspectorGUI () (at /Users/bokken/buildslave/unity/build/Modules/PresetsEditor/PresetEditor.cs:107) UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Editor/Inspector/InspectorElement.cs:625) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Resolution Note:
This will not be fixed