Search Unity

Question Is there a problem with shadow caster ?

Discussion in '2D' started by MX-Pain, Jan 19, 2022.

  1. MX-Pain

    MX-Pain

    Joined:
    Sep 27, 2020
    Posts:
    49
    Hello folks,
    I have upgraded to Unity 2021.2.8f1 my project and now shadow caster works kinda weird.
    The below images explain in more detail my problem.
    upload_2022-1-18_20-19-47.png
    Is doing some weird shadow...

    While the only light and casting is working is one I have at the beginning of my level.
    upload_2022-1-18_20-20-44.png
    And sometimes doesn´t even cast a shadow on blue lights.
    Upon oppening the project it asked me if I want to upgrade the materials and more stuff and I agree. Not sure if something else should be needed to have this working properly.

    Any help will be appreciated.
     
  2. Apanasevich_Egor

    Apanasevich_Egor

    Joined:
    Oct 6, 2018
    Posts:
    4
  3. MX-Pain

    MX-Pain

    Joined:
    Sep 27, 2020
    Posts:
    49
  4. Viole

    Viole

    Joined:
    Dec 29, 2015
    Posts:
    38
    I have the same problem. ShadowCaster seems buggy.
     
  5. youwho42

    youwho42

    Joined:
    Jun 18, 2016
    Posts:
    4
    I have the same problem. I don't have a solution, but I now understand that if all the lights have something to cast a shadow with, it all works, if only one light isn't hitting an object with the shadowcaster2d component, the whole thing stops working.
    Maybe this helps whoever is hopefully/maybe trying to fix this.
     
    MX-Pain likes this.
  6. Viole

    Viole

    Joined:
    Dec 29, 2015
    Posts:
    38