When deleting a .script file within a game object in a collection, it disappears as expected.
After saving, closing and reopening the collection the deleted file has reappeared.
Tried several times, restarted Defold etc. to no avail.
When deleting a .script file within a game object in a collection, it disappears as expected.
After saving, closing and reopening the collection the deleted file has reappeared.
Tried several times, restarted Defold etc. to no avail.
I think the issue is that you are trying to remove the file from level1.go
but you are doing it from the collection instead. I’m not sure that’s supported. Perhaps someone else on the team knows. @britzl or @sven, do you know?
Thanks - yeah, the file disappears permanently when deleted from the game object itself.
It might be an idea to grey out the delete option from the context menu in places it doesn’t actually delete.
Yeah, that’s some bad UX that it’s possible to do. @Ragnar_Svensson, can you confirm that this will work better in the new editor?
Yes, absolutely.