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.

 

 

  1. 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.

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.