Search Unity

Resolved Screen Flickers AR Android URP

Discussion in 'AR' started by apiotuch_unity, Nov 26, 2020.

  1. apiotuch_unity

    apiotuch_unity

    Joined:
    Jun 28, 2019
    Posts:
    138
    Hello,

    I had AR using ARFoundation going with standard pipeline. I converted my project to URP. Now when I move the Android device around to scan the room, the screen flickers grey. Sometimes full screen, other times it is blocks of grey. It looks like some sort of rendering interruption. I have not tested with iOS. This flickering only occurs when the AR camera is on.

    Update:

    I believe it occurs when a raycast no longer detects a ground plane or when it first detects a ground plane.
     
    Last edited: Nov 27, 2020
  2. robertRSG

    robertRSG

    Joined:
    May 5, 2015
    Posts:
    6
    Hi!

    Have you solved this already? I'm trying to fix it too.
     
  3. apiotuch_unity

    apiotuch_unity

    Joined:
    Jun 28, 2019
    Posts:
    138
    Not yet. I did manage to cut down some of it. Any of my objects that I instantiated I made them children of an AR Anchor. That cut down half off the flickering but I still get flickering when I look away from the ground plane.
     
  4. AaronXRDev

    AaronXRDev

    Joined:
    Dec 13, 2014
    Posts:
    30
    I had this same issue. I went into my build settings -> Other Settings and unchecked Multithreaded Rendering and it went away.
    uncheck.jpg
     
    apiotuch_unity likes this.
  5. apiotuch_unity

    apiotuch_unity

    Joined:
    Jun 28, 2019
    Posts:
    138
    Disabling Multithreaded Rendering actually made it always gray.

    Update:
    I tried it again with it disabled. Looks like the permissions popup was interrupting something causing the constant gray screen the first time. When I entered it again it was fine. No flickering.
     
    Last edited: Dec 7, 2020
    AaronXRDev likes this.
  6. unity_74FA67FF18E196127340

    unity_74FA67FF18E196127340

    Joined:
    May 19, 2023
    Posts:
    1
    Any update on this issue?
    I still having this issue Multithread Rendering is also eneabled