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

Bug Gameobject texture flickering in 2022.3.8f on Forward+ with SRP Batcher on

Discussion in 'Universal Render Pipeline' started by emiipo, Sep 20, 2023.

  1. emiipo

    emiipo

    Joined:
    Nov 29, 2021
    Posts:
    3
    Hi, so we're working on a game and are using URP 14.0.8 on Unity 2022.3.8f with Forward+ rendering but it seems that some custom shaders from imported plugins are having flickering issues.

    I found this thread https://forum.unity.com/threads/forward-broken-with-reflection-probe-node-in-shadergraph.1427850/ and this issue https://issuetracker.unity3d.com/issues/gameobject-texture-flickers-when-applying-shader-graph-reflection-probe-node basically describing the problem and showing off how it looks like and in this thread https://forum.unity.com/threads/sg-reflection-probe-node-urp-14-0-4-flickers.1374342/#post-8707341 there's a mention of turning off SRP Batcher fixing the issue and that's the solution we are using currently. But obviously we'd like to have SRP Batcher on due to it's affect on performance.

    The issue tracker also states it has been fixed but only in other versions of unity, so I'm not sure what would be the best approach of sorting this out? We also can't edit the shaders themselves as they come from the plugins.

    Thank you for any possible help!!!
     
  2. JesOb

    JesOb

    Joined:
    Sep 3, 2012
    Posts:
    1,081
    2022.3.8 is buggy try 2022.3.10 first :) there is where bugs get fixed :)
     
  3. emiipo

    emiipo

    Joined:
    Nov 29, 2021
    Posts:
    3
    Unfortunately the issue still persists in 2022.3.10 :(
     
  4. ElliotB

    ElliotB

    Joined:
    Aug 11, 2013
    Posts:
    214
    Does your shader use UsePass anywhere? UsePass is very broken on URP at the moment when the SRPBatcher is on. You may be and to work around by manually copy and pasting the pass in place of UsePass
     
  5. emiipo

    emiipo

    Joined:
    Nov 29, 2021
    Posts:
    3
    That's interesting. So since it's a shader from an asset pack and me not having much experience with them I honestly can't say, but I'll keep this fix in mind thank you!

    I've managed to sort some of it out, the assets we're having issues are from NatureManufacturers and Polygonmakers. For NatureManufacturers they've releases URP and HDRP updates for 14+ so that's all sorted. for Polygon I need to take a look :)