How to reproduce:
1. Open the attached project "IN-131487"
2. In the Project window, navigate to the HDRP asset and enable the Dynamic Resolution
3. In the Hierarchy window, create a new Custom Pass Volume
4. Add a Custom Pass Volume component
5. In the dropdown menu, select the Draw Renderers Custom Pass
6. Observe the Console window
Actual result: Errors appear in the Console window
Expected result: No errors appear in the Console window
Reproducible with: 6000.0.66f2 (b20bc5da3050), 6000.2.0b1 (1618a92a88ac), 6000.3.6f1 (bbb010bdb8a3), 6000.4.0b6 (ad11f9e78441), 6000.5.0a6
Not reproducible with: 6000.2.0a10
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested