Search Issue Tracker
By Design
By Design in 2023.1.X
Votes
0
Found in
2022.1.17f1
2022.2.0b8
2023.1.0a11
Issue ID
UUM-15362
Regression
No
Shadow gets cut off when in Play Mode and using shader "Shader Graph/Rotation Shader" for material
How to reproduce:
1. Open the attached project “IN_16028”
2. Open “House 1” Scene in Scenes → Buildings
3. Enter Play Mode
4. Move “Player” GameObject straight to the wall (Keyboard controls for movement are: “A”, “W”, “S”, “D”)
5. Observe the shadow in the Game View
Expected result: shadows don’t get cut off
Actual result: shadow gets cut off
Reproducible with: 2022.1.17f1, 2022.2.0b8, 2023.1.0a11
Couldn’t test with: 2020.3.39f1 (due to compiler errors), 2021.3.10f1 (couldn’t assign shader “Shader Graphs/Rotation Shader”)
Reproducible on: Windows 10 Pro
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
This is by design because the bounds of the renderer don't match what the rotated mesh will be due to the shadergraph based rotation.
I suggest the user to create a custom render bound for the character that have that shader applied so that the rotation applied in shader will be accounted for by the culling (see https://docs.unity3d.com/ScriptReference/Renderer-bounds.html )
Resolution Note (2023.1.X):
This is by design because the bounds of the renderer don't match what the rotated mesh will be due to the shadergraph based rotation.
I suggest the user to create a custom render bound for the character that have that shader applied so that the rotation applied in shader will be accounted for by the culling (see https://docs.unity3d.com/ScriptReference/Renderer-bounds.html )