Search Issue Tracker

In Progress

Fix In Review for 6000.4.0b5, 6000.5.0a4

Votes

0

Found in

6000.4.0a6

6000.5.0a3

Issue ID

UUM-129021

Regression

No

“Cannot delete asset. [blank] is not a valid path.” warning is thrown when trying to delete “Default” scenario in Play Mode Scenarios window

-

Steps to reproduce:
1. Create new Unity project
2. Open Multiplayer Center window
3. In Multiplayer Center window select Genre of the Game (Adventure) and Number of Players per Session (2)
4. Press button to Install Packages
5. Open Play Mode Scenarios window (Window > Play Mode > Scenarios)
6. In Play Mode Scenarios right-click on “Default” scenario
7. Delete “Default” scenario
8. Observe the Console window

Actual results: A warning “Cannot delete asset. [blank] is not a valid path.” is thrown in the Console window, “Delete” element in the menu is active
Expected results: No warnings should be thrown in the Console window, “Delete” element in the menu should be greyed out

Reproducible with versions: 2.0.1 (6000.4.0a5, 6000.5.0a2)
Can’t test with versions: 6000.3.0f1 and lower (No “Default” Scenario)

Tested on (OS): Ubuntu 24.04, macOS Silicon Tahoe 26.0.1 (M1)

Warning:

  •  Cannot delete asset. is not a valid path.

UnityEditor.AssetDatabase:DeleteAsset (string)
Unity.PlayMode.Editor.PlayModeListView/<>c_{_}DisplayClass12_0:<InstanceListItemContextMenu>b{_}_1 (UnityEngine.UIElements.DropdownMenuAction) (at /Users/bokken/build/output/unity/unity/Modules/PlayModeEditor/Managed/Scenarios/UI/PlayModeScenariosWindow/PlayModeListView.cs:186)
UnityEditor.GenericMenu:CatchMenu (object,string[],int)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.