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
/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
- Reordering Enum Values in VFX Graph Uint Property expands the “Value” field
- Visual Effect Graph sample titles display in non-human-readable format
- UxmlNamespacePrefix does not apply when using UIBuilder documents
- UI Builder Data Path Source List starts flickering and scrolling when trying to select the last item in the list
- Crash on ProcessSceneBeforeExport when analyzing selected Addressables rules in a specific project
Resolution Note:
This will not be fixed