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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
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