Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2017.4.X
Votes
0
Found in
2017.3.0b1
2018.1.3f1
Issue ID
1046498
Regression
Yes
Unity Editor crashes when instantiating GameObjects containing Canvas and Sprites in Coroutines
How to reproduce:
1. Open user-submitted project (CS 110 Game Remake Remake.zip)
2. Open "Level01.unity" scene
3. Play the scene
4. Position 3 towers on the map
5. Keep clicking start button(In-game) for the entire game(Best to use auto-clicking software; Crash usually happens at the beginning of Wave 7)
Expected result: Unity does not crash
Actual result: Unity crashes while spawning another wave while the last one has not been killed
Reproducible with: 2017.3.0b1, 2017.4.5f1, 2018.1.4f1, 2018.2.0b7, 2018.3.0a1
Not reproducible with: 2017.1.4p1, 2017.2.3p1, 2017.3.0a1, 2017.3.0a7
Could not test with:
Notes:
* Cleaning unnecessary project data doesn't help
* Builds reproduce the issue better than Editor(tested on Windows PC)
* Trying to instantiate SlimeFull prefabs as fast as possible in a new project does not reproduce the issue
* Could be related to:
+ Coroutines - enemy spawn method is executed in a coroutine
+ UI - SlimeFull prefab has a canvas child object; Also stack trace points to UI methods
+ Sprites - When sprite references are cleared from SlimeFull prefab the issue does not reproduce
+ Mono - .NET 3.5 reproduces the issue more often than .NET 4.X
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Add comment