Search Unity

ARF Android crash when AR diabled on boot

Discussion in 'AR' started by GeriB, Feb 9, 2020.

  1. GeriB

    GeriB

    Joined:
    Apr 26, 2017
    Posts:
    193
    Hi,

    I'm having an error that's driving me CRAZY. I'm building a game where you can switch between AR and No AR mode. In the Unity editor it works perfectly fine. And on device (a Google Pixel 4) it also works great when I boot the game from the AR scene, from there I can swap between the AR and no AR mode.

    The crash only happens when the game boots from the No AR mode.

    I've tried pretty much everything I can think of. And even captured the messages of the Android Logcat before the crash (the crash happens when the game boots from the No AR mode, the frame after the Unity splashscreen finishes), I have no idea what's going on:
    upload_2020-2-10_0-2-18.png

    Any help would be mega appreciated.

    Thanks in advance :)