Steps to reproduce:
- Create a new project using Universal 3D template
- In the Hierarchy, create a Cube GameObject
- Drag it to the Project window to create a prefab
- Open the prefab in context (double-click from Project window)
- Add another GameObject as a child of Cube (e.g. Sphere)
- Exit prefab context
- In the Hierarchy, expand the Cube prefab GameObject
- Drag the child of prefab (Sphere) to the Project window
- Observe the "Cannot restructure Prefab instance" pop-up apears and click "Open Prefab"
- Observe the Console
Alternatively
- Open the attached project and "SampleScene"
- In the Hierarchy, expand the "Cube" GameObject
- Drag the child of "Cube" (Sphere) to the Project window
- Observe the "Cannot restructure Prefab instance" pop-up apears and click "Open Prefab"
- Observe the Console
Actual results: "Line is no longer supported as a way to enter Prefab Mode in Context. Instead use PrefabStageUtility.OpenPrefab" warning appears
Expected results: No warnings
Reproducible with versions: 6000.4.0a5, 6000.4.1f1, 6000.5.0b2, 6000.6.0a1
Not reproducible with versions: 6000.3.12f1, 6000.4.0a4
Tested on (OS): Windows 11
Notes:
- On some versions, "Internal: JobTempAlloc has allocations that are more than the maximum lifespan of 4 frames old" warning appears as well