Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question help: URP Shadowmap cascade problem on mobile device.

Discussion in 'Universal Render Pipeline' started by cg_han-squirrel, Jul 28, 2023.

  1. cg_han-squirrel

    cg_han-squirrel

    Joined:
    Nov 27, 2013
    Posts:
    46
    Hello !


    I've been deadlocked with this problem for two full days now, it behaves correctly on editor, but it occurs on Android and IOS devices:
    Light leaks, or inexplicable shadows at shadow cascades.(see attached video)
    Tried various methods and parameter configurations, as well as trying to use the various URP shadow plugins in assetstore to fix it, and so far still no luck.
    Some experienced friends told me it might be a bug in the URP version?
    Thank you very much if you can provide ideas.



    Unity version: 2021.3.19
    URP version: 12.1.10
     

    Attached Files:

    Last edited: Jul 29, 2023
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,362
    Always worth updating to the latest 2021 lts to check.
    Which render API is used?
    Send a screenshot of the URP settings
    Do you use custom shaders?
     
  3. cg_han-squirrel

    cg_han-squirrel

    Joined:
    Nov 27, 2013
    Posts:
    46

    thank you,

    bug resolved, it's a bug in old verision of Amplify Shader Editor which generated a shader with error shadow reciever.
     
    ElliotB and DevDunk like this.