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
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
Resolution Note:
This will not be fixed