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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1263699