Search Issue Tracker

Fixed

Fixed in 6000.3.0a6

Votes

0

Found in

6000.0.56f1

6000.1.16f1

6000.2.1f1

6000.3.0a5

Issue ID

UUM-114211

Regression

No

Resetting “PC_RP Asset (Universal Render Pipeline Asset)” causes Game view to become black and throws Renderer and NullReference errors in the Console window

-

Steps to reproduce:
1. Create new Unity project
2. Open Game view window
3. In Project window, select PC_RPAsset (Assets/Settings/PC_RPAsset.asset)
4. In the Inspector window next to the "?" press on the kebab button
5. From the menu select "Reset"
6. Observe Game view and Console window

Actual results: After reset, Game view becomes black, errors are thrown in the Console, Rendering list is missing Default Renderer

Expected results: Game view shouldn't become black, no errors thrown in the Console, Rendering list shouldn't miss Default Renderer

Reproducible with versions: 6000.0.56f1, 6000.1.16f1, 6000.2.1f1, 6000.3.0a5

Tested on (OS): Windows 11, macOS Silicon, Sequoia 15.6 (M1)

Notes:

  •  Moving mouse in Game view spams errors

{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.Universal.UniversalAdditionalCameraData.get_scriptableRenderer () (at ./Library/PackageCache/com.unity.render-pipelines.universal@09f6b6a8b451/Runtime/UniversalAdditionalCameraData.cs:699)
UnityEngine.Rendering.Universal.UniversalRenderPipeline.GetRenderer (UnityEngine.Camera camera, UnityEngine.Rendering.Universal.UniversalAdditionalCameraData additionalCameraData) (at ./Library/PackageCache/com.unity.render-pipelines.universal@09f6b6a8b451/Runtime/UniversalRenderPipeline.cs:1300)
UnityEngine.Rendering.Universal.UniversalRenderPipeline.RenderCameraStack (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera baseCamera, System.Boolean isLastBaseCamera) (at ./Library/PackageCache/com.unity.render-pipelines.universal@09f6b6a8b451/Runtime/UniversalRenderPipeline.cs:928)
UnityEngine.Rendering.Universal.UniversalRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, System.Collections.Generic.List`1[T] cameras) (at ./Library/PackageCache/com.unity.render-pipelines.universal@09f6b6a8b451/Runtime/UniversalRenderPipeline.cs:468)
UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, System.Collections.Generic.List`1[T] cameras) (at /Users/bokken/build/output/unity/unity/Runtime/Export/RenderPipeline/RenderPipeline.cs:58)
UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipelineAsset, System.IntPtr loopPtr, UnityEngine.Object renderRequest, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at /Users/bokken/build/output/unity/unity/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:152)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)
{code}

{code:java}
Default Renderer is missing, make sure there is a Renderer assigned as the default on the current Universal RP asset:PC_RPAsset
UnityEngine.Rendering.GraphicsSettings:GetDefaultShader (UnityEngine.Rendering.DefaultShaderType) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Graphics/GraphicsSettings.bindings.cs:127)
{code}

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.