Search Issue Tracker
Fixed
Fixed in 6000.0.43f1, 6000.1.0b11, 6000.2.0a7, 7000.0.0a24
Votes
0
Found in
6000.0.37f1
6000.1.0b5
6000.2.0a3
Issue ID
UUM-97129
Regression
No
Console displays "ArgumentNullException: Value cannot be null. Parameter name: path1" during the scene template creation
Steps to reproduce:
- Create a project
- Go to File -> New Scene
- Select:
** "Basic (URP)"
** or "Lit 2D (URP)"
* or "Standard (URP)"
- Click "Create"
- Go to File -> Save As Scene Template
- Enter a name instead of "newscene.unity" and click "Save"
- Observe the Console
Actual results:* The console displays an error. A short video is added below in the "Attachments" section.
Error:
ArgumentNullException: Value cannot be null.
Parameter name: path1
System.IO.Path.Combine (System.String path1, System.String path2) (at <107b8456f94146d4b9e1cbdadc91cb21>:0)
UnityEditor.SceneTemplate.SceneTemplateUtils.SaveFilePanelUniqueName (System.String title, System.String directory, System.String filename, System.String extension, System.Boolean showSaveFilePanel) (at /Users/bokken/build/output/unity/unity/Modules/SceneTemplateEditor/SceneTemplateUtils.cs:146)
UnityEditor.SceneTemplate.SceneTemplateService.SaveTemplateFromCurrentScene () (at /Users/bokken/build/output/unity/unity/Modules/SceneTemplateEditor/SceneTemplateService.cs:621)
Expected results: No errors
Reproducible with versions: 6000.0.37f1, 6000.1.0b5, 6000.2.0a3
Not reproducible with versions: -
Can’t test with versions: 2022.3.56f1
Tested on (OS): Apple M1 Max - Sequoia 15.3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment