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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Resolution Note:
This will not be fixed