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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note (fix version 2020.3.39f1):
Fixed in: 2020.3.39f1