How to reproduce:
1. Create and open a new 2D URP project
2. Create a new Camera GameObject and make it of “Overlay“ Render Type
3. Select the “Main Camera“ GameObject in the Hierarchy
4. Add the Overlay Camera GameObject to the Camera Stack in the Inspector
5. In the Inspector, add the PixelPerfectCamera Component and set the Crop Frame enum to “Stretch Fill“
6. If this is not reproducing, disable the RenderGraph Compatability option in Edit > Project Settings > Graphics
7. Observe the Game view and the Console
Expected results: Nothing is thrown in the Console and the Game view renders correctly
Actual results: “NullReferenceException“ and “InvalidOperationException“ errors are spammed and the Game view fails to render
Reproducible in: 6000.0.43f1, 6000.1.0b11, 6000.2.0a7
Could not test in: 2022.1.0a1, 2022.3.60f1 (RenderGraph is not available)
Reproduced on: Windows 11 Pro (24H2), macOS 15.3.1
Not reproduced on: No other environment tested
Notes:
- If any of the steps are not done, the issue will not reproduce
- If the issue does not reproduce on 1920x1080 Game view resolution, change it to something else, or better - Free Aspect
- Camera Stack must be used for reproduction