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

Question ARCore / ARfoundation : issue (E1206) when quitting the app

Discussion in 'AR' started by FOKSlab, Dec 6, 2021.

  1. FOKSlab

    FOKSlab

    Joined:
    Jun 27, 2017
    Posts:
    30
    Hi,
    I did an ARFoundation scene without anything in unless ARSession & AR Session Origin, modified the player settings to update the gradle files (following the Google tutorial : https://developers.google.com/ar/develop/unity/android-11-build?hl=en) since I am using Unity 2019.4 and ARFoundation (2.1.18 verified version but issue happens too in 4.1.7 which should be "compatible" regarding the documentation : https://docs.unity3d.com/2019.4/Documentation/Manual/com.unity.xr.arfoundation.html). I added a script to quit the app (Application.Quit()) when touching the screen and when touching something goes wrong :
    upload_2021-12-6_17-59-41.png
    I would like to make this error (E1206 in scheduler.cc:278) disappear when quitting, Can someone help me ?
    Regards
     
  2. FOKSlab

    FOKSlab

    Joined:
    Jun 27, 2017
    Posts:
    30
    Tersted with Unity 2020.3 and ARFoundation/ARCore XR Puugin 4.1.7 (without gradle fix inside Unity to enable ARCore) ... and error is still there :(
    upload_2021-12-6_18-30-35.png
     
  3. FOKSlab

    FOKSlab

    Joined:
    Jun 27, 2017
    Posts:
    30
    ... Can someone help me to fix this ? :(