Search Unity

Bug ARFoundation Green Flickering Issue

Discussion in 'AR' started by jsleek, Dec 2, 2020.

  1. jsleek

    jsleek

    Joined:
    Oct 3, 2014
    Posts:
    61
    Hi there:

    I get a green flickering in the background of the device's camera view whilst using ARFoundation in Unity.
    I've attached a video to show what I'm talking about, and attached a screenshot:


    Anyone know why this is happening?

    -I've tried this build on other devices (Samsung Galaxy Tab S6, Samsung S8), and get no green flickering issue.
    -Other apps don't give me this issue, just this Unity ARfoundation app I'm currently testing.
    -I've tried to spawn a simple cube primitive as the model that appears (instead of the complex 3D model that appears in the video), still get green flickering).
    -The green flickering starts before the Tracked Image is even detected.
    -This didn't always happen; during testing, whilst the device was plugged into the computer, the device suddenly rebooted, and ever since then, I have this green flickering issue. All the previous builds before it started now cause the same issue.


    Things I've tried:
    -Other devices (mentioned above) work fine.
    -Spawning Different 3D models (i.e. ARObjects), still get green flickering in background (starts even before Tracked Image is detected).
    -Disabling everything on the ARObject except the 3D model.
    -I factory reset the tablet. Didn't change the issue.
    -Tried Upgrading to ARFoundation 4.1.1. All I get is a black screen when running the app (says development build in the bottom right corner), no camera feed.
    -I briefly tested the arfoundation-samples version 3.1 Scene (as is, no changes, except with ARFoundation 4.1.1 et al installed) : "ImageTrackingWithMultiplePrefabs" and I seem to get no green flickering issues.
    https://github.com/Unity-Technologies/arfoundation-samples/tree/3.1


    Happy to provide dev files/logs if needed.

    Any help would be much appreciated!



    Specs:

    Device-Samsung Galaxy Tab S4 - SM-T830
    Android Version: 8.1.0
    Unity Version: 2020.1.4f1
    ARFoundation: 3.1.5
    ARCore XR Plugin: 3.1.5
    ARKit XR Plugin: 3.1.7
    Platform: Android
     

    Attached Files:

    Last edited: Dec 2, 2020
  2. Prathamesh_Prasade

    Prathamesh_Prasade

    Joined:
    Dec 5, 2017
    Posts:
    10
    I have exactly same issue the difference is instead of green I get a gray color flicker. I tried different unity versions, different AR Foundation versions and different phones. The issue seems to be present on OnePlus devices.

    Specs where issue EXISTS:
    Device: OnePlus 6T and Oneplus 7T
    Android Version: 10
    OxygenOs Version: 10.3.6
    Google Play Services for AR Version: 1.21.202940503
    Unity Version: 2019.4.0f1 (LTS) and 2019.4.15f1 (LTS)
    ARFoundation: 3.0.1 and 3.1.6
    ARCore XR Plugin: 3.0.4 and 3.1.8

    This issue is not found on other device. I tested the same build on Samsung Galaxy M30s and there was no such issue.

    Specs where issue DOES NOT EXISTS:
    Device: Samsung Galaxy M30s
    Android Version: 10
    One UI Core Version: 2.0
    Google Play Services for AR Version: 1.21.202940503
    Unity Version: 2019.4.0f1 (LTS) and 2019.4.15f1 (LTS)
    ARFoundation: 3.0.1 and 3.1.6
    ARCore XR Plugin: 3.0.4 and 3.1.8

    I am not sure why this issue is happening with the OnePlus devices only.
     

    Attached Files:

    • 1.png
      1.png
      File size:
      1.1 MB
      Views:
      330
    • 2.png
      2.png
      File size:
      2.4 MB
      Views:
      329
  3. mfuad

    mfuad

    Unity Technologies

    Joined:
    Jun 12, 2018
    Posts:
    335
  4. danlee_lils

    danlee_lils

    Joined:
    Mar 28, 2018
    Posts:
    4
    hello guys!

    I have the same issue with the very similar setup... any news on the fix? Thanks a bunch!
     
  5. ahirparesh5

    ahirparesh5

    Joined:
    Feb 2, 2018
    Posts:
    1
    same issue bro