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

Warning when using LWRP

Discussion in 'General Graphics' started by surajsirohi1008, Aug 1, 2018.

  1. surajsirohi1008

    surajsirohi1008

    Joined:
    Jun 21, 2016
    Posts:
    266
    Here's the warning i get: Metal: Fragment shader missing buffer binding at index 4 (_LightIndexBuffer / LightweightPipeline/Standard (Physically Based))

    Created a new project, installed LWRP from package manager and since then I've been getting that warning in the console.
     
  2. phil_lira

    phil_lira

    Unity Technologies

    Joined:
    Dec 17, 2014
    Posts:
    584
    Hey, we have a fix for this issue in the SRP github. We are releasing a new package soon with some critical bugfixes for LWRP. Meanwhile, the workaround for this is to disable Graphics Emulation and reimport shaders.

    The only tricky thing in this workaround is that the graphics emulation will be reset in some specific events like reopening Unity, after building etc.
     
  3. surajsirohi1008

    surajsirohi1008

    Joined:
    Jun 21, 2016
    Posts:
    266
    How do I reimport shaders?