Search Issue Tracker
Fixed
Fixed in 2020.3.39f1
Votes
0
Found in
2020.3.37f1
Issue ID
UUM-9729
Regression
No
”NullReferenceException” error appears when creating a new GameObject through a script using "Reset" function if the Timeline window is docked
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)
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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Resolution Note (fix version 2020.3.39f1):
Fixed in: 2020.3.39f1