Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.2.X
Votes
0
Found in
2019.3.0f3
2019.3.14f1
2020.1.0a16
2020.2
Issue ID
1250914
Regression
Yes
GetShadowCasterBounds method returns true when all shadow casters are outside of the shadow distance
How to reproduce:
1. Open the attached '04 Directional Shadows.zip' project
2. Open 'SampleScene' Scene
3. Zoom out the Scene View
Expected result: 'not rendering shadow map' messages are logged to the Console
Actual result: No logs are printed in the Console, thus shadow maps are always in use
Reproducible with: 2019.3.0f3, 2019.4.7f1, 2020.1.0a16, 2020.1.2f1, 2020.2.0a20
Not reproducible with: 2019.3.0f2, 2020.1.0a15
Could not test with 2018.4.26f1 (due to errors thrown in the Console)
Notes:
- Selecting an object causes Console logs, don't have anything selected
- When zooming scene in enough, messages are logged to the Console
- Reproducible with Metal, Open GL, DX11, DX12, Vulkan
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
- Shader properties do not appear on the GameObject when switching ShaderGraphs during runtime in the Player
- Multiple '-' symbols are allowed to appear in a row when inputting '.' into a non-decimal numeric field
- Rendering Debugger throws a warning and renders the Scene view in solid black when material debug tools and Path Tracing are used
- User gets "NullReferenceException: Object reference not set to an instance of an object" error in the Console during the search in the "Select Scene" window
- A blank narrow section becomes visible on the right side of the "Searches" section on max view
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1. Shadow culling planes were being incorrectly set using the camera's far clipping plane distance, this will now be fixed to correctly use the shadow distance setting.
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b5