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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment