How to reproduce:
1. Open the “GS” project
2. Open the “SnowScene_Deffered“ scene
3. Enter the Play Mode
4. Observe the shadows
5. Build and Run the project (File->Build and Run)
6. Observe the shadows
Expected result: The shadows are naturally diffused throughout the scene both in the Editor and the Player
Actual result: The shadows are sharp and too dark in Player
Reproducible in: 2021.3.36f1, 2022.3.21f1, 2023.2.14f1
Couldn’t test with: 2023.3.0b10 (Compilation errors)
Reproduced on: Windows 10
Not reproduced on: No other environments tested
Notes:
- User indicated that they use SampleSH() function in URP shader library to get the Ambient light in their shader. They noticed that values of “ambientLighting” might cause this problem to occur in the “// Ambient” section of code in the GlobalSnowPass.hlsl file (Assets->GlobalSnow->Runtime->Resources->GlobalSnow->Shaders)
- Enabling the Frame Debugger while in the Player resolves the issue in versions 2021.3.36f1 and 2022.3.21f1.
- Shadows are sharp and too dark both in the Editor and the Player in version 2023.2.14f1
- Built project crashes when enabling Frame Debugger in version 2023.2.14f1