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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.