Search Issue Tracker

By Design

Votes

0

Found in

2021.3.28f1

2022.3.4f1

2023.1.4f1

2023.2.0a23

2023.3.0a3

Issue ID

UUM-42175

Regression

No

The "Save" button does not work and no asset is created when using EditorUtility.SaveFilePanelInProject

--

-

Reproduction steps:
1. Open project “bug-savefilepanel-inproject.zip”
2. Open “Unity Support\Test” through the main menu
3. Click the “Save” button in the save file window that opens up

Expected result: The file path is printed in the Console logs
Actual result: Nothing happens and no file path is printed in the Console logs

Reproducible with: 2021.3.28f1, 2022.3.4f1, 2023.1.4f1, 2023.2.0a23

Reproducible on: macOS Ventura 13.2.1 (Intel)

  1. Resolution Note:

    The file extension provided in SaveFilePanelInProject() shouldn't have the dot prefix, which will not be accepted by the native file dialog. Providing "asset" instead of ".asset" will fix the problem.

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.