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
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
Add comment