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

Shadows/Lights

-

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

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a1

Comments (12)

  1. sampenguin

    Jun 06, 2023 21:17

    This is not fixed. Still occurs in 2021.3.5f1 on MacOS with iOS build settings.

  2. 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/

  3. adilbantour

    Sep 11, 2022 20:13

    Still Persist:

    2021.3.9f1
    macOS Monterey
    Android & Ios

  4. 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

  5. Feelnside

    Jun 07, 2022 19:45

    Ah, issue is reproducible in Unity 2021.3.4f1 (Macbook, target iOS). It's absolutely not resolved...

  6. 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

  7. 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

  8. vlasove

    Apr 29, 2022 15:17

    Seeing the same issue in 2021.3.1f1

  9. 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?

  10. 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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.