Unity Issue Tracker - Creating a GameObject using 'new' returns null when calling it from Reset() method
Closed
UUM-12606
Creating a GameObject using 'new' returns null when calling it from Reset() method
Unity: Scene Management
Won't Fix
2023.1.X
2020.1.X
Bug did not affect trunk
Does not reproduce in latest 2020.3
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