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
- [Android] Error "Curl error 60: Cert verify failed. Certificate is not correctly signed by a trusted CA. UnityTls error code: 7" when using UnityWebRequest to connect to the server with a self-signed certificate
- DirectX11 errors are thrown and Shader becomes broken when connecting the subgraph containing the Sample Texture2DArray node to BaseColor
- Crash on burst.initialize.statics when exceeding the "Maximum Shadows on Screen" value in Player
- KeyNotFoundException error thrown in the Console when clicking on a button in a UIDocument
- A transparent material and an Ambient Occlusion material are rendered darker when using path tracing in HDRP
Add comment