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
7000.0.0a1
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment