Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Awful material issues with URP+iOS using forward rendering

Discussion in 'Universal Render Pipeline' started by wjt6, Sep 12, 2022.

  1. wjt6

    wjt6

    Joined:
    Aug 10, 2020
    Posts:
    12
    I get unexpected lines on one side of all objects after building to iOS. (see images)

    Using URP 12.1.7, Unity v2021.3.6f1, forward rendering path

    I’ve used the URP lit shader along with a few from the asset store (Omnishade, URP+lite) and the lines on all objects regardless of which shader is used. The lines only appear one side of every object.

    Everything looks smooth and as expected in Unity. The lines only appear after building to iOS. Has anyone experienced this? I’ve tried with/without post-processing, changing lurching settings, changing quality setting me but I’m not having any luck figuring out what’s causing it.
     

    Attached Files:

  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,971
    Are the objects places very far away from the center of the scene (0,0,0)?
    If not, I'm guessing there is a bad settings in the ios player settings, but not sure
     
  3. wjt6

    wjt6

    Joined:
    Aug 10, 2020
    Posts:
    12
    Nah, they are all centered around the scene center. I’m sure it’s some random setting I’m overlooking, but I’ve never seen this issue. I guess I’ll try adjusting each setting and doing a few dozen builds until I track down the cause
     
  4. Kyriakos80

    Kyriakos80

    Joined:
    Sep 30, 2017
    Posts:
    49
    Do you have dark mode enabled? It can affect some shaders for some reason.
     
  5. wjt6

    wjt6

    Joined:
    Aug 10, 2020
    Posts:
    12
    I didn’t, but I just tried building again to compare light & dark mode. Same results with each, so it doesn’t appear to be related
     
  6. ivoras

    ivoras

    Joined:
    May 21, 2020
    Posts:
    66
    Did you resolve this issue somehow?