Search Issue Tracker
Active
Under Consideration for 6000.6.X
Votes
0
Found in
6000.0.73f1
6000.3.13f1
6000.4.3f1
6000.5.0b4
6000.6.0a2
Issue ID
UUM-139396
Regression
No
Selecting “Add Scene” in Search window throws ArgumentException when attempting to open a Scene located in a Package directory
Steps to reproduce:
1. Create new Unity project
2. Install Entities package via Package Manager
3. Open Search window
4. In search field enter “TestSubScene”
5. Toggle Inspector Panel
6. Press on the kebab button next to “Open” button
7. From the menu select “Add Scene”
8. Observe the Console window
\\
Actual results: “ArgumentException” error is thrown in the Console when selecting “Add Scene” from context menu
Expected results: “Add Scene” should be disabled/hidden when trying to select Scene or Asset which is located inside “Packages/“ directory or get a user-friendly warning that Scenes from packages can’t be opened
\\
Reproducible with versions: 6000.0.73f1, 6000.3.13f1, 6000.4.3f1, 6000.5.0b4, 6000.6.0a2
\\
Tested on (OS): macOS Silicon Tahoe 26.4
{code:java}
ArgumentException: Cannot open scene with path "Packages/com.unity.entities/Unity.Scenes.Hybrid.Tests/TestSceneWithSubScene/Subscene/TestSubScene.unity".
UnityEditor.SceneManagement.EditorSceneManager.OpenScene (System.String scenePath, UnityEditor.SceneManagement.OpenSceneMode mode) (at <df1951d9a0be44b1b591ff0cf7877633>:0)
UnityEditor.Search.Providers.AssetProvider+<>c.<CreateActionHandlers>b__57_6 (UnityEditor.Search.SearchItem item) (at /Users/bokken/build/output/unity/unity/Modules/QuickSearch/Editor/Providers/AssetProvider.cs:918)
UnityEditor.Search.SearchView.ExecuteAction (UnityEditor.Search.SearchAction action, UnityEditor.Search.SearchItem[] items, System.Boolean endSearch) (at /Users/bokken/build/output/unity/unity/Modules/QuickSearch/Editor/UITK/SearchView.cs:850)
UnityEditor.Search.SearchWindow.ExecuteAction (UnityEditor.Search.SearchAction action, UnityEditor.Search.SearchItem[] items, System.Boolean endSearch) (at /Users/bokken/build/output/unity/unity/Modules/QuickSearch/Editor/UITK/SearchWindow.cs:552)
UnityEditor.Search.SearchDetailView+<>c__DisplayClass41_1.<RefreshMoreMenu>b__1 () (at /Users/bokken/build/output/unity/unity/Modules/QuickSearch/Editor/UITK/SearchDetailView.cs:380)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/GenericMenu.cs:164)
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment