Search Unity

Question ARCore - AR Camera flicker problem

Discussion in 'AR' started by rickygai, Nov 17, 2022.

  1. rickygai

    rickygai

    Joined:
    Mar 9, 2022
    Posts:
    110
    Windows 10 version 21H2 (OS Build 19044.2130)
    Unity 2021.3.13f1
    Shader Graph Version 12.1.7
    Universal RP Version 12.1.7
    AR Foundation Version 4.2.7
    ARCore XR Plugin Version 4.2.7
    Google Cardboard XR Plugin for Unity Version 1.16.0
    XR Plugin Management Version 4.2.1
    Android 8, 10, 12

    hi,

    Recently was testing an AR Foundation ARCore Portal project with reference to the Youtube channel HERE. None of the suggestions from that Youtube comments works.

    When played on the Unity editor everything was smooth but running on Android phone, the flicker page appeared as shown below, sliding from top to bottom.

    upload_2022-11-17_13-8-53.png

    Attached ARPortal.zip has the shader files and portal .cs script for references.

    Portal.cs and URPFilter.shader are assigned to blue buildings.

    PortalFilter.shader is assigned to the Portal plane.

    Any idea ?
     

    Attached Files:

    Last edited: Nov 17, 2022