# Deleting an object part of a collection does not remove it from the collection

Video to the question: https://youtu.be/kgvwxt84Rkg

After deleting an object which is part of a collection it seems the collection still contains the deleted object (which i did not expect). Especially problematic for me is that I can't find a way to fix this. I discovered the problem way to late to undo the deletion and I don't know how to modify the collection directly.

I fixed my problem by creating new collections (which obviously don't contain the deleted object), selecting an empty which shall receive the new collection as the instancing property and using a simple script

import bpy


Afterward I found out I could have done the same via Select Linked (Shift+L) \ Instanced Collection and editing the property while holding Alt (to apply it to all selected objects).
• I just tested and this behaviour is fixed in the latest stable version (2.83.2), I couldn't reproduce what you did in your youtube video. (This was a bug). Also now you can directly instance collections with the Add menu – Gorgious Jul 20 at 7:59