Search Unity

Weird material switch

Discussion in 'Universal Render Pipeline' started by Kali2048, Apr 27, 2020.

  1. Kali2048

    Kali2048

    Joined:
    Oct 16, 2013
    Posts:
    69
    I'm using Unity 2019.3.11f1 URP, here is my problem :

    By simply moving or rotating the view or the camera, some materials will switch a another material.
    It seems that it's switching to the material of a larger or overlapping object.
    For example a table will switch to the room material if the table is inside or touches the room, It won't switch if it's not.

    I've tried Clearing the GI Cache, deleting all folders except the Assets and ProjectSettings, nothing fixed it.
    This also happens in a new scene with only 2 static objects, no script or anything special.

    Is that a bug or some weird features I'm not aware of ? :p
    Thanks
     
  2. Kali2048

    Kali2048

    Joined:
    Oct 16, 2013
    Posts:
    69
    This seem to be related to the "SRP Batcher" setting of the Renderer, this problem goes away when I disable it.
     
  3. phil_lira

    phil_lira

    Unity Technologies

    Joined:
    Dec 17, 2014
    Posts:
    584
    Hi Kali, could you submit as a bug with this repro project? We will take a look at it.