Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b11
Issue ID
617529
Regression
No
Unity crashed when deleting an instantiated Canvas prefab
To Reproduce:
1. Open scene 'crashrepro', click button crash.
2. Unity crashes when trying to destroy/destroyObject a canvas which is a child of another canvas, it doesn't matter whether the canvas was instantiated in runtime or not, Unity still crashes when trying to destroy it.
3. Root canvas can be destroyed fine.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on mono_dump_native_crash_info when changing a Particle System Renderer’s Material Shader to Standard Unlit
- VFX Prefab doesn’t have Preview icon in Project window and Preview window is empty in Inspector window
- Visual Effect Graph error message does not disappear and lasts forever until the Visual Effect Graph is reopened even when the error causing connection/node is deleted and Visual Effect Graph is saved
- “RenderSettings customReflection texture has invalid type” error keeps getting thrown even when Environment Reflections was set back to Skybox from Custom with an invalid texture
- Particle System with the custom Material breaks the Scene view when the material is using a Shader Graph with the Texture with the power of negative value
HoldShort 21
Nov 10, 2014 13:48
I've been having a very similar issue. I was trying to destroy instantiated objects on a "Sub Canvas" that was a child of the "Main Canvas", but the program would crash.
I simply moved the "Sub Canvas" to the top of the hierarchy and now I can destroy the instantiated objects.