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

Bug UI flickering on multi-display grabpass

Discussion in 'iOS and tvOS' started by AlteregoGames01, Jan 25, 2021.

  1. AlteregoGames01

    AlteregoGames01

    Joined:
    Jan 25, 2021
    Posts:
    1
    We're experiencing an issue on our aircast display when we use a shader with a grabpass for blurring the background of certain UI elements (Image components with an overwritten material field). We use the grabpass for blurring the backgound.

    This all works fine on the main display of our iPad Pro (Gen 2, iOS 14.2), no issues whatsoever. However; on all our AirPlay displays (both simulated and tvs) the image starts flickering irregularly. And this is unacceptable for us.

    My first hypothesis is that the grabpass somehow causes the attached monitor to sometimes display the result of the grabpass, which in turn looks like a flicker. Which is not the case for the iPad's internal display. Maybe due to refresh rate differences between the devices' displays?

    Has anyone else encountered this issue and also solved it?

    I've included the shader in the post. Unfortunately due to contractual reasons I am not able to show screenshots nor video footage of the application.

    The Unity version we're on is 2018.4.25f1
     

    Attached Files: