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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
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.