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 app (Android / IOS) stops working after a second build.

Discussion in 'AR' started by RyanTexture, Sep 28, 2021.

  1. RyanTexture

    RyanTexture

    Joined:
    Jun 10, 2020
    Posts:
    15
    Hi, ive encountered a very strange issue, where my ar app works but only once. It stops working after doing a 2nd build (doesnt begin the ar session, no camera feed, no plane tracking)

    im a bit lost as to why this is happening. Between builds, no code is changed, the only other thing that probably happens is a change in build target (android to ios and back).

    Im using
    Unity 2019.4.26f1
    ARFoundation 4.1.7
    ARCore 4.1.7
    ARKit 4.1.7

    Any help is appreciated.
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,698
  3. giovannowarli

    giovannowarli

    Joined:
    Apr 2, 2020
    Posts:
    3
    Hi! I don't know if you solved it, but somehow I solved mine by deleting the previous build first in the build folder before building it again. Hope it helps
     
unityunity