Search Issue Tracker
By Design
By Design in 2023.3.X
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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Active Targets section text in Graph Inspector is truncated despite available space
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
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.
Resolution Note (2023.3.X):
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.