How to reproduce:
1. Open the attached “IN-101040” project
2. Open the “SampleScene”
3. Make sure the Game view aspect ratio is not “4K UHD (3840x2160)”
4. Enter Play mode
5. Observe the result in the Game view
Expected result: Shadows render normally
Actual result: Shadows flicker
Reproducible with: 2022.2.2f1, 2022.3.62f1, 6000.0.49f1, 6000.1.3f1, 6000.2.0b1
Not reproducible with: 2021.3.51f1, 2022.2.1f1
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Notes:
- The severity of the flickering changes with each aspect ratio and does not show at all on 4K UHD (3840x2160)
- Shadows also flicker in Game view when moving around in the Scene view
- User noticed in the Frame Debugger, the DrawMotionVectors pass before ScreenSpaceShadows (only starts in later versions of 2022.3)
- In 2022.2 the texture of the terrain is not visible but the frame debugger shows similar results as previously tested versions where the texture is visible, also if you enter Play mode, a little flickering is noticable on the left where the terrain meets the sky (easiest to see if screen brightness is all the way up)
- The issue specifically happens with Screen Space Shadows and when Dynamic Resolution is disabled on the main camera output.