Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question [AR Foundation] Only one in a few instances of the same build is running correctly

Discussion in 'AR' started by choinka9512, May 19, 2021.

  1. choinka9512

    choinka9512

    Joined:
    May 19, 2021
    Posts:
    1
    Hello all,

    I've currently run into an issue - I need to restart my application (same apk build) that is using AR Foundation and image tracking a few times, until it runs smoothly. What might be the cause? Using AR Foundation 4.1.7, Unity 2021.1.7f1. Disabling/enabling multithread rendering doesnt help. Redmi Note 9 pro.
    I've prepared video comparison:

    Regular (flashing model, wrong model orientation):


    Random instance of the same app after ~15 restarts (runs perfectly and smoothly af):


    Next instance still behaves like regular one and needs restarting until randomly works for one run.

    Thanks for help!
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,744