Search Issue Tracker

Duplicate

Votes

0

Found in

2018.1.0a6

2018.1.0b3

Issue ID

991192

Regression

Yes

[2018.1] Instantiating gameObject on a specific script crashes editor

Scripting

-

To reproduce:
1. Open repro project(link in edit)
2. Open and play 'Game' scene
3. After countdown press white button

Expected: 'UnassignedReferenceException: The variable projectile of Player has not been assigned.' error will be thrown
Actual: editor crashes

Reproduced: 2018.1.0a6, 2018.1.0b4
Not reproducible: 5.6.5p1, 2017.1.3f1, 2017.2.1p2, 2017.3.0p3, 2018.1.0a5

Note: editor crashes on Instantiate method in Assets\Scripts\Player\PlayerSync.cs script (line 467). Sometimes after debugging (when stepping on each method) it works properly until next time entering play mode

  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.