[Crash] Seems to happen when destroying something with a child Worldspace

A bit of background: I have a core scene, which additively loads other scenes as the levels. When they go out of range, those levels are supposed to be destroyed… and here seems to be where my troubles come in. Each “root” piece of a level contains a component called UnloadableLevelPiece which destroys itself if it matches the ID of the scene we are trying to unload.

With that in mind… This happens when I try to unload a scene. Specifically, it happens immediately after I try to unload a scene, which IIRC is when things marked by Destroy actually get destroyed. Given the number of times “Canvas” appears here, I’m fairly certain this is a beta-related bug. (There are a number of world-space canvases in the scene being unloaded. To confirm the cause, I tried deleting all of these object from the scene, and it no longer crashes when unloading.)

I’ve made a bug report on this, but I’m wondering if anyone else has come across similar problems.

couple questions, it looks like your on a android device, does it happen in editor as well? Also what beta version are you on?

This is only in the editor. I have not yet attempted to reproduce this on either Android or iOS on-device.

4.6b20

Hmm ok please report a bug with your use case, we’d love to fix any crashes.

It’s case 638965