Search Issue Tracker
Won't Fix
Won't Fix in 2020.1.X, 2020.3.X
Votes
0
Found in
2020.1.0a13
Issue ID
UUM-12606
Regression
Yes
Creating a GameObject using 'new' returns null when calling it from Reset() method
How to reproduce:
1. Open the "SampleScene" in the attached "case_1196137_repro" project
2. Add the "TestScript" as a Component to the "TestGameObject"
Expected results: "TestGameObject" has a "child" object attached to it
Actual results: "child" is created as a separate GameObject, NullReferenceExceptions are thrown in the console
Reproducible with: 2019.2.0b10, 2019.2.13f1, 2019.3.0b11, 2020.1.0a13
Not reproducible with: 2017.4.34f1, 2018.4.13f1, 2019.2.0b9
Additional note: The issue does not reproduce if the Reset() is called via a cog button next to a Component in the Inspector Window.
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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (2020.3.X):
Does not reproduce in latest 2020.3
Resolution Note (2020.1.X):
There are no fixes planned for this Bug