Search Issue Tracker
Won't Fix
Won't Fix in 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
- "Browse" button for Xcode in the "Build Profiles" window is too big
- USS styles fail to inherit correctly when contentContainer is overridden in a custom control
- Copying and pasting Animator Transitions leads to unexpected behaviour
- "ShaderGraph" misses a space in the "Project Settings" section
- UI Builder inspector’s checkbox fields can be activated when clicking anywhere in the value field
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (2020.3.X):
Does not reproduce in latest 2020.3