This would happen if you tried to access the collection property for an object that has not being evaluated by the depsgraph.
This would happen if you tried to access the collection property for an object that has not being evaluated by the depsgraph.