I have a custom tool that uses an overlay as a settings window. There are some object fields on overlay for assigning objects from both hierarchy and project windows.
When I perform drag and drop operation on a prefab from project window to one of the objects fields on the overlay, object on the scene that used as a preview for dragged prefab is not being cleared.
By Inspector I meant hierarchy. Sorry about my bad explanation.
Problem is when I make a drag and drop operation from project window to overlay field on scene, object that created for display preview of the dragged prefab also stays on scene with HideInHierarchy flag. Preview prefab should be cleared when I perform my drop on an overlay.
I think you found a bug! Can you submit a report with a simple project? You don’t even have do drag to your overlay, I dragged a prefab to one of the existing scene overlays and looks like some preview of my prefab is also stuck in the scene and not showing on the hierarchy.
If you submit it, it’ll make the rounds to the proper QA channels and be assigned to the correct team to address it, plus you’ll get notified of status updates