Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

13.1.3

Issue ID

1386799

Regression

No

"null" errors occur and Scene view isn't rendered when changing Scriptable Render Pipeline Settings to a new URP asset

Package: Scriptable Render Pipeline Universal

-

How to reproduce:
1. Open the attached project "CameraPrefab_Test.zip"
2. Select the Camera GameObject in the Hierarchy window
3. Open and observe the Console window

Expected result: No errors occur, Scene view rendering
Actual result: Errors in Console: "ArgumentNullException: Value cannot be null. Parameter name: dest", Scene view not rendering

Reproducible with: 7.7.1 (2019.4.33f1), 10.7.0 (2020.3.24f1), 12.1.2 (2021.2.6f1), 13.1.3 (2022.1.0b2)

Notes:
- Reproducible when moving mouse cursor between Editor windows, clicking on something
- A message is thrown before the error in the Console Window:
"Can't add 'UniversalAdditionalCameraData' to SceneCamera because a 'UniversalAdditionalCameraData' is already added to the game object!
UnityEngine.GameObject:AddComponent (System.Type)
UnityEditorInternal.ComponentUtility:ReplaceComponentsIfDifferent (UnityEngine.GameObject,UnityEngine.GameObject,UnityEditorInternal.ComponentUtility/IsDesiredComponent) (at /Users/bokken/buildslave/unity/build/Editor/Mono/ComponentUtility.cs:60)
UnityEngine.GUIUtility:ProcessEvent (int,intptr)"
- Similar to case https://issuetracker.unity3d.com/product/unity/issues/guid/1263699/

  1. This is a duplicate of issue #1263699

    [URP] Scene view is not rendered, errors are thrown

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.