How to reproduce:
1. Create a new Unity project
2. Take the screenshot and wait for it to appear in the right side of the screen
3. Grab the screenshot and drag it around while hovering on the Editor
4. Observe the results
Expected results: No warnings are thrown
Actual results: "Invalid AssetDatabase path" warnings are spammed
Reproducible with: 6000.3.0a2, 6000.3.21f1, 6000.5.7f1, 6000.6.0b7, 6000.7.0a4
Not reproducible with: 6000.0.81f1, 6000.3.0a1
Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested
Note: Not a regression since it was introduced by Hierarchy V2
First lines of warning:
Invalid AssetDatabase path: /var/folders/5r/g4frpdl914zclfsz8y0d96mr0000gn/T/TemporaryItems/NSIRD_screencaptureui_faLl93/Screenshot 2026-08-04 at 16.28.59.png. Use path relative to the project folder.
UnityEditor.AssetDatabase:GetMainAssetTypeAtPath (string)
Unity.Hierarchy.Editor.DragAndDropHelpers:IsDraggingScene (Unity.Hierarchy.HierarchyViewDragAndDropHandlingData&) (at /Users/bokken/build/output/unity/unity/Modules/HierarchyEditor/Managed/DragAndDropHelpers.cs:57)