Search Issue Tracker
By Design
Votes
0
Found in [Package]
6.9.1, 7.1.1
Issue ID
1186309
Regression
No
Shadows are not projected correctly when using Shadow Attenuation from Shadows.hlsl in a Custom Sub Graph Function
How to reproduce:
1. Download the tester-attached package(ShadowProjection.unitypackage)
2. Create a new Universal Render Pipeline project
3. Import the package and set the included Render Pipeline Asset
4. Open the Shadow Issues/3. Shadow Projection/Shadows Projection Scene
5. Compare the Simple Lit Shadows GameObject to Custom Shadows/Custom Shadows Without mask GameObjects
Expected result: Custom Shadows/Custom Shadows Without mask GameObjects have correct shadow projections
Actual result: Custom Shadows/Custom Shadows Without mask GameObjects have incorrect projections
Reproducible with: 2019.2.7f2, 2019.3.0b4, 2020.1.0a5
Could not test with: 2017.4.32f1(ShaderGraph unavailable), 2018.4.10f1(Shader incompatibility issues)
Reproducible with package versions: 6.9.1, 7.1.1
Could not test with package versions: 6.9.0(Shader Incompatibility issues)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
Resolution Note:
The Position node in the Sub Graph was set to Object Space, which was causing the shadows to be projected incorrectly. Changing Space to World Space fixes the shadow projection