Adding a collection to itself causes the editor to freeze

Found this bug.

Start a new mobile game, then open the main.collection and choose “add collection file”, then add main.collection . Maybe that causes some recursion, because the editor to freezes at this point (1.2.114).

I understand this is not something you ever want to do, but I did it playing around with the editor.

5 Likes

I think is normal, the collection adds a collection that adds the same collection and so on, infinity.

I’m pretty sure trying to recursively add a game object throws an error. Doing the same with collections should do the same, rather than just freeze.

1 Like

Agreed. It’s reported here: https://github.com/defold/editor2-issues/issues/2258

3 Likes