How to reproduce:
1. Create two empty projects
2. In one of the projects, create any GameObject in the Hierarchy
3. Drag the created GameObject into the "Project" window to create a Prefab
4. Drag the created Prefab into another project
5. While dragging the Prefab, hover on the Hierarchy in the second project and observe the Console
Expected results: No warnings are thrown
Actual results: Warnings "Invalid AssetDatabase path:" are spammed as long as hovering the Hierarchy
Reproducible with: 6000.3.0a2, 6000.3.10f1, 6000.4.0b11, 6000.5.0a8
Not reproducible on: 6000.0.69f1, 6000.3.0a1
Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested
Note: The version affects reproduction only in the second project (the one receiving the Prefab), it doesn't matter what version is the project from which the Prefab is dragged
First lines of warning:
Invalid AssetDatabase path: /Users/.../Assets/Scenes/Cube.prefab. 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:53)