Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.3.X
Votes
1
Found in
2018.4
2019.4.11f1
2020.2
Issue ID
1281930
Regression
No
Shadows are flickering when Scene is offset from origin and Camera has a low near clip plane
Reproduction steps:
1. Open the user's attached project "914797-ShadowsFlicker.zip"
2. In the Project window under the "Assets/Scenes" open "SampleScene.unity"
3. Enter Play mode
Expected result: Shadows remain static in relation to their objects
Actual result: Shadows are moving randomly in relation to their objects
Reproducible with: 2018.4.27f1, 2019.4.11f1, 2020.1.7f1, 2020.2.0b5
Notes:
-The scene is offset from the origin. It's at (0,0,4000). The near clip plane of the camera was also reduced to 0.01
-The camera has a simple script slowly rotating it
-This behavior is reduced if the near plane is pushed farther and when the scene is moved closer to the origin or if the camera doesn't move
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
- UI Text color is incorrect when text is rendered on SubMeshUI
- "Invalid SortingGroup index set in Renderer" errors when making many modifications in same frame
- Crash on GizmoBufferSizeHistory::GetBuffer() when opening a specific scene
- RenderTexture is not initialized when it is set as Material's Texture
- Branch node outputs a random value instead of a constant on the false conditon
Resolution Note (fix version 2021.1):
Updated shadow ray calculations in monoscopic and stereo contexts to stabilize rays at extreme distances.
Resolution Note (fix version 2020.3):
Fixed in 2020.3.6f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.24f1