Search Issue Tracker
Fix In Review for 14.x.x
Votes
0
Found in [Package]
Issue ID
1385066
Regression
No
[HDRP] Switching to quality level with disabled APV while Display Probes mode is enabled breaks render loop
Version tested: 2022.1.0b1 + Master
Steps to reproduce:
0) Create new HDRP template
1) Have two quality levels, one with enabled APV another with disabled
2) Switch to APV enabled quality level, go to Rendering Debugger/Probe Volumes and enable Display Probes
3) Switch to APV disabled quality level and observe the error
MissingReferenceException: The object of type 'Material' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Material.set_shaderKeywords (System.String[] value) (at <d192a3394f214287ac22629a13b34391>:0)
UnityEngine.Experimental.Rendering.ProbeReferenceVolume.DrawProbeDebug (UnityEngine.Camera camera) (at D:/GIT/Graphics/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeReferenceVolume.Debug.cs:217)
UnityEngine.Experimental.Rendering.ProbeReferenceVolume.RenderDebug (UnityEngine.Camera camera) (at D:/GIT/Graphics/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeReferenceVolume.Debug.cs:69)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.TryCull (UnityEngine.Camera camera, UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.HighDefinition.SkyManager skyManager, UnityEngine.Rendering.ScriptableCullingParameters cullingParams, UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset hdrp, UnityEngine.Rendering.HighDefinition.HDRenderPipeline+HDCullingResults& cullingResults) (at D:/GIT/Graphics/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs:2389)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, System.Collections.Generic.List`1[T] cameras) (at D:/GIT/Graphics/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs:1334)
UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, System.Collections.Generic.List`1[T] cameras) (at <d192a3394f214287ac22629a13b34391>:0)
UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, System.IntPtr loopPtr, System.Collections.Generic.List`1[T] renderRequests, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at <d192a3394f214287ac22629a13b34391>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Render Pipeline Converter selected asset counter reports one fewer item when using manual selection
- [Android] [Adreno] [WebGL] A light cookie is not rendered with shader compile error when WebGL build is launched on a device with Adreno GPU
- Rigibody sliding over a flat surface that is made of several GameObjects detects false collisions when Collision Detection is set to "Continuous" or "Continuous Dynamic"
- UI Toolkit Label height is incorrectly calculated when using max-width with percentage value
- Visual Effect Material causes Scene view to update continuously when both Scene and Game views are open, despite "Always Refresh" being disabled
Add comment