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:

  1. Create a project
  2. Go to File -> New Scene
  3. Select:

** "Basic (URP)"
** or "Lit 2D (URP)"
* or "Standard (URP)"

  1. Click "Create"
  2. Go to File -> Save As Scene Template
  3. Enter a name instead of "newscene.unity" and click "Save"
  4. 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

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.