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
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/
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Project Auditor suggests to update package to a lower version than installed when the recommended package version is not the latest version
- Low performance when multiple meshes using BlendShape are rendered on screen
- TMP Dropdown visually corrupts or disappears when its own GameObject is assigned to "Caption Image" or "Placeholder" elements
- Usymtool tries to upload GameAssembly.pdb when it doesn't exist after building with Mono backend
- “NullReferenceException” error thrown in the Console when running HDRP Wizard “Fix All” in URP project after installing HDRP Package
This is a duplicate of issue #1263699