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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
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