Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
4
Found in
2017.4.0f1
2018.3.0a1
2019.1.0a1
2019.1.9f1
2019.2.0a1
2019.3.0a1
Issue ID
1169018
Regression
No
[Shadows] Shadow length is reverting back every few frames when updating Directional Light's eulerAngles
How to reproduce:
1. Open the attached project '1169018shadows.zip'
2. Open 'SampleScene'
3. Position your Scene view so that you can see the 'Cube' object and it's shadow
4. Enter Play mode
5. Observe Cube's shadow as Directional Light's X eulerAngle is approaching 90
Expected results: Shadow is updating smoothly
Actual results: Every few frames, the shadow length is shortened
Reproducible with: 2017.4.31f1, 2018.4.5f1, 2019.1.13f1, 2019.2.0f1, 2019.3.0a11
Notes:
- To see the issue more clearly, pause Play mode and press the next frame button a couple of times
- In the example project, in the 'Rotator' script which is attached to the Directional Light, you can lower the 'Speed' variable to lower the rotation speed
- Directional Light's Z rotation has to be near cardinal directions as well
- Happens with all Lightmappers and Lighting Modes
- The Y Rotation of the Directional Light has to be near one of the cardinal directions (0, 90, 180, 270)
-
stonstad
Sep 06, 2019 20:56
"We would like to inform you that due to Universal RP and HDRP now leading the graphics research and development, we will not be able to allocate dev time for this issue. We would encourage you to try out the before-mentioned render pipelines, as they both feature vastly improved shadowmap rendering techniques."
WTF Unity.
-
LaireonGames
Jul 29, 2019 13:28
This is simply not a viable solution since these pipelines are still preview....
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
- Shadows are not cast when the Light's CullingMask and the GameObject's Layer do not match
- Graphics.DrawMeshInstanced does not work when 2D Renderer and 2D Shaders are used
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
Resolution Note (2020.2.X):
This issue requires a larger change and will be investigated separately.