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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

AR app not working on iPhone

Discussion in 'AR/VR (XR) Discussion' started by ProfCIrla, Dec 19, 2018.

  1. ProfCIrla

    ProfCIrla

    Joined:
    Sep 5, 2018
    Posts:
    3
    Hey everybody,
    I'm new to Unity and AR stuff and have been successful in building an AR scene in Unity (I'm using version 2018.2.18f1). My build settings are set for iOS and Vuforia is enabled. I open the XCode file in version 10.1, and have even tried an earlier version of XCode 9.2 but no luck. The app builds in Xcode and the icon appears on my iPhone 6s and I give permission for the app to use my camera, but all I see on the screen is the blue/gray background of the scene in Unity (image attached). What am I missing?
     

    Attached Files:

  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,851
    As a guess, I'd say that you didn't check the "Scenes in Build" list in the Build Settings dialog. The top scene there is the one that runs when the app launches. It's probably still set to the empty sample scene that Unity makes with a new project. Just delete that one, and add the scene you actually care about. Then build again.
     
  3. ProfCIrla

    ProfCIrla

    Joined:
    Sep 5, 2018
    Posts:
    3
    Thank you so much! That worked!
     
  4. NNFZJ

    NNFZJ

    Joined:
    Jan 1, 2019
    Posts:
    1
    I have the same question as you described. How you did? @ProfClrla
     
  5. FransMelssen

    FransMelssen

    Joined:
    Oct 27, 2019
    Posts:
    1
    Yes, I am also curious how I need to do this.