How to reproduce:
1. Open the “BIRPShadowsBuildError“ project
2. Open the “Sample Scene”
3. Build And Run the project
4. Observe the Console
Expected result: Build is successful
Actual result: Build fails and “Shader error in 'Shader Graphs/Shadows': redefinition of '_ShadowMapTexture' at Assets/Shadows.hlsl(5) (on d3d11)“ error is thrown
Reproducible in: 2021.3.40f1, 2022.3.38f1, 6000.0.11f1
Reproducible on: Windows 10, macOS 14.5 (user’s)
Not reproducible on: No other environments tested
Notes: After the first Build fails, Build and Run again - the subsequent attempt compiles successfully