Search Issue Tracker
By Design
Votes
0
Found in
2022.2.0a3
2023.1.0a11
Issue ID
UUM-15266
Regression
Yes
User gets "Assets/ .scenetemplate' is not a valid asset file name" error during scene template saving
To reproduce:
# Open HUB;
# Create a new project;
# Go to menu "File" and select "Save as Scene Template...";
# In "Save scene" popup remove "SampleScene" text from "Save As" field;
# Verify, that "Save" button becomes disabled. Good.
# Go back to the same field and add space;
# Verify, that "Save" button becomes active again;
# Click "Save".
Expected Result: "Sample Scene (Scene Template Asset)" should be created.
Actual Result: Console window displays errors.
Reproducible with: 2023.1.0a11, 2022.2.0a3.
Not Reproducible with: 2022.1.16f1, 2021.3.10f1, 2020.3.40f1.
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note:
1- AssetDatabase doesn't support name only made of spaces so the error message is legit.
2- The saveDialog checks for empty string or "blank string" but not for blank name with extension and this is the native file creation dialog so we cannot change it.