Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Cannot Get Shadows to Work 2D URP Shadow Caster 2D

Discussion in '2D Experimental Preview' started by jmplunkett2, Apr 29, 2022.

  1. jmplunkett2

    jmplunkett2

    Joined:
    Feb 10, 2022
    Posts:
    1
    Hello, I'm sure I'm missing something obvious but for some reason I cannot get my Shadow Caster 2D to work. I am using Unity 2020. Attached are a couple screenshots from my game so far. I have a point light, and I set up Shadow Caster 2D with the outline on the tree. From all of the tutorials I see online, it should work as long as the shadow intensity is above zero, but I'm getting no shadow effect. Any help would be much appreciated! upload_2022-4-28_20-18-16.png upload_2022-4-28_20-18-55.png
     

    Attached Files:

  2. juicedup

    juicedup

    Joined:
    Aug 18, 2019
    Posts:
    47
    What sorting layer is the shadow castertargeting?
     
  3. Chris_Chu

    Chris_Chu

    Unity Technologies

    Joined:
    Apr 19, 2018
    Posts:
    257
    From what I can see you've set it up properly.

    Are you using the latest version of 2020.3 with Universal RP 10.9.0? I did see an issue like this with an older version of 2020.3 and Universal RP.