Search Issue Tracker
Fixed
Votes
0
Found in [Package]
2.5.4
Issue ID
1315161
Regression
No
[Unity Recorder] 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)
License type: Pro
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
Add comment