How to reproduce:
1. Open project “TestFeature.zip“
2. Dock Timeline window
3. Add the “TestReset” Script to a “val” GameObject
4. Observe the Console window
Expected result: “val” is logged
Actual result: “NullReferenceException“ is logged
Reproducible with: 1.4.8 (2020.3.37f1), 1.7.1 (2020.3.37f1, 2021.2.0b4)
Not reproducible with: 1.7.1 (2021.2.0b5, 2021.3.6f1, 2022.1.10f1, 2022.2.0b1, 2023.1.0a3)
Reproduced on: macOS 12.4 (Intel)
Notes:
- Not reproducible without a Timeline window
- Not reproducible with other windows
Full error:
NullReferenceException
UnityEngine.Object.get_name () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:194)
TestReset.Reset () (at Assets/Scenes/TestReset.cs:14)
UnityEditorInternal.InternalEditorUtility:InspectorWindowDrag(Object[], Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at
/Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)