Search Issue Tracker

Fixed

Fixed in 2022.3.2f1, 2023.1.0b9, 2023.2.0a15

Votes

0

Found in

2023.1.0b3

Issue ID

UUM-26577

Regression

No

Search: Console displays "Failed to save search query at Assets/ .asset" error during search query saving

-

Steps to reproduce:

  1. Create a 2D project
  2. Add any 2D game object for example "Capsule"
  3. Go to "Window" menu and select "Search" ->"New Window"
  4. Type "Capsule" into search input section and click "Enter"
  5. Click save button and select "Save Project"
  6. In "Save search query" popup delete proposed name and  enter space symbol
  7. Observe "Save" button
  8. Click it, because  the button becomes active
  9. Observe "Console" window

Expected result: Validation shouldn't allow to save the query. Added screenshot in the "Attachments" section.

Actual result:  Console displays errors. Added video in the "Attachments" section.

Note: this happens only on Mac. On Windows the SavePanel dialog doesn't allow empty asset name.

 

Reproducible with: 2023.1.0b3, 2022.2.6f1, 2021.3.18f1, 2021.3.1f1.
Not reproducible with: 2020.3.45f1 (this stream has no this window).

Errors:

Assets/ .asset' is not a valid asset file name.
UnityEditor.GenericMenu:CatchMenu (object,string[],int)

Failed to save search query at Assets/ .asset
UnityEditor.GenericMenu:CatchMenu (object,string[],int) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/GenericMenu.cs:127)

  1. Resolution Note (fix version 2023.2.0a15):

    Verified with:
    2023.2.0a15.2253.2683
    Revision: trunk e4d2a7e41f40
    Built: Tue, 09 May 2023 02:23:23 GMT

  2. Resolution Note (fix version 2023.1.0b9):

    Verified with:
    2023.1.0b9.3067.2625
    Revision: 2023.1/staging 824d2f8c920d
    Built: Wed, 15 Mar 2023 02:38:28 GMT

  3. Resolution Note (fix version 2022.3.2f1):

    Verified with:
    2022.3.2f1.0.13885
    Revision: 2022.3/staging d74737c6db50
    Built: Tue, 06 Jun 2023 11:06:38 GMT

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.