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
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
- The build size is larger when Models have Animation Type set to Generic
Add comment