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
- VideoPlayer.loopPointReached invokes twice when WaitForFirstFrame is enabled
- Converting empty groups along with nodes into a subgraph prevents subgraph creation and throws errors
- Information box is pushed up when resizing the Visual Element located in the upper part of UI Document
- Transparent objects cannot receive shadows from Point Light when Rendering Path is set to "Deferred" and there is Spot Light in the Scene
- ScriptUpdater does not work correctly when Chinese(Simplified) language support is enabled and compiler messages are localized
Add comment