Search Issue Tracker

Fixed in 5.6.0

Votes

0

Found in

5.6.0f1

Issue ID

894515

Regression

Yes

Unity crashes when creating new GameObject with Canvas on it through the script attached to the Instantiated prefab

UI

-

Unity crashes when user creates new GameObject with Canvas on it through the script attached to the Instantiated prefab.

To reproduce:
1. Unzip and open attached Unity project.
2. Press play button.

Note: crash on line 1022 in script AFPSCounter (Assets\Plugins\CodeStage\AdvancedFPSCounter\Scripts) :
GameObject canvasObject = new GameObject("CountersCanvas", typeof(Canvas));

Regression introduced in 5.6.0b11
Reproducible : 5.6.0f1, 5.6.0f2, 2017.1.0a5, 5.6.0b11
Not reproducible : 5.6.0b7, 5.6.0b10, 5.5.2f1

OS: Windows 10 64 bit.

Add comment

Log in to post comment