NRE in RenderingUtils.SequenceEqual

RenderingUtils.SequenceEqual doesn’t check if any of the passed in RTHandles are null. This is a problem because ScriptableRenderPass.ConfigureTarget() sets elements in ScriptableRenderPass.m_ColorAttachments to null, and ScriptableRenderer.SetRenderPassAttachments uses SequenceEqual to check if the colorattachments are equal.

URP Version 17.0.3

Hi, ITR1. Could you please report this bug via the Bug Reporter (“Help → Report a Bug…” in the Unity Editor)? If you have a quick reproduction project with steps, make sure to attach it, as it will help out greatly. Cheers.

The project was too large to attach, but I’ve added detailed information and sent a bug report through the tool.