Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.3.20f1
2020.3.21f1
2021.1
Issue ID
1375244
Regression
No
Directional Light Shadows are displayed just black or just white when changing the Light Strength
How to reproduce:
1. Open project "LightBug.zip"
2. In the Hierarchy window select "Directional Light"
3. In the Inspector window change the "Strength" value
4. Observe the shadow in the Game window
Expected result: Shadow is changing slowly as the value changes
Actual result: Shadow is all black or no shadow at all
Reproducible with: 2020.3.20f1, 2020.3.22f1, 2021.1.23f1, 2021.1.28f1
Not reproducible with: 2019.4.31f1, 2020.3.19f1, 2021.1.0a1, 2021.1.22f1, 2021.2.0a1, 2021.2.0b17, 2022.1.0a13
Notes:
- Realtime Shadow color is not changing too
Comments (12)
-
sampenguin
Jun 06, 2023 21:17
This is not fixed. Still occurs in 2021.3.5f1 on MacOS with iOS build settings.
-
zstar
Sep 28, 2022 12:37
On the gpu architecture that metal, the bug cause by LightComponent's Strength property.
https://forum.unity.com/attachments/upload_2022-9-28_20-33-46-jpg.1126022/ -
adilbantour
Sep 11, 2022 20:13
Still Persist:
2021.3.9f1
macOS Monterey
Android & Ios -
Nkirikoglu
Sep 08, 2022 16:03
Issue still persists in unity versions 2021.3.6f, 2021.3.7f, 2021.3.8f on MacOS Monterey 12.3.1 Target platform Android&iOS
-
Feelnside
Jun 07, 2022 19:45
Ah, issue is reproducible in Unity 2021.3.4f1 (Macbook, target iOS). It's absolutely not resolved...
-
vlasove
Apr 29, 2022 15:39
And one more update :) It happens on Mac if build target is set to Android or iOS. If build target is switched to OXS the slider works as expected
-
vlasove
Apr 29, 2022 15:35
It seems like it only affects Unity 2021.3 for Mac. The same version for Windows works fine. Haven't checked Linux Editor though
-
vlasove
Apr 29, 2022 15:17
Seeing the same issue in 2021.3.1f1
-
shochet
Apr 08, 2022 15:26
Seeing same problem in 2020.3.32 LTS - please backport
If you choose Realtime Shadow Strength slider values very carefully, some specific values seem to be ok? We have to adjust every light in our game to an arbitrary working value now? -
Feelnside
Mar 10, 2022 16:48
+100 for backporting to 2020!
Did a rollback to 2019 since it's impossible to use 2020 due to the issue.
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
- Mesh Rendered GameObject using the SpriteLitDefault Material becomes invisible when animating with the URP Sprite-Lit-Default Shader
- Compilation errors occur when using PluginAPI headers in a C environment
- Profiler connects to a different opened Editor project when more than one project is open and building for WebGL with Autoconnect Profiler enabled
- Creating and then deleting the "Integration Update: Rotation" block breaks and makes unusable VFX Graph
- “ArgumentNullException: Value cannot be null.” when deleting a newly created input action
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a1