Search Issue Tracker

Duplicate

Votes

0

Found in

2018.1.0a6

2018.1.0b2

Issue ID

987798

Regression

Yes

Editor crash when instantiating a prefab that is not assigned (null)

Asset - Database

-

Reproduction steps:
1. Open the attached project ("SomeGraphs.zip")
2. Open scene "Graphs"
3. Enter play mode
4. In the Game tab, press button "Create new point"
5. Observe the crash

Expected result: error is thrown
"UnassignedReferenceException: The variable graphPrefab of UIManagement has not been assigned."
"You probably need to assign the graphPrefab variable of the UIManagement script in the inspector."

Reproduced on: 2018.1.0a6, 2018.1.0b3
Not reproducible on: 2017.1.3f1, 2017.2.1p2, 2017.3.0p3, 2018.1.0a5

  1. This is a duplicate of issue #978580

    Unity crashes when passing null Object to Instantiate

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.