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. Dismiss Notice

Question AR camera

Discussion in 'AR' started by jakub3120, Jun 7, 2023.

  1. jakub3120

    jakub3120

    Joined:
    Jan 17, 2023
    Posts:
    1
    Hi! I'm building my first Unity app with ar foundation. I want to create two scenes. The first is the menu from which I go to the second which contains the AR module. My problem is the automatic activation of the second scene and the AR camera when building the application on an Android smartphone. Can someone tell me where I can turn off the automatic activation of the camera?
    upload_2023-6-7_16-38-48.png
     
  2. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    868
    I guess here:

    Screenshot 2023-06-08 at 00.36.28.png

    And also all AR-related Game Objects and Components must be Active/Enabled:
    • Game Objects: AR Session, AR Session Origin, AR Camera
    • Components on them: AR Session, AR Input Manager, AR Kit Coaching Overlay, AR Session Origin, AR Plane Manager, AR Point Cloud Manager, AR Raycast Manager, AR Pose Driver, AR Camera Manager, AR Camera Background....
    In some of my assets, I activate/enable part of them manually after defining which AR Engine is supported by the target device.
     
  3. unity_andrewc

    unity_andrewc

    Unity Technologies

    Joined:
    Dec 14, 2015
    Posts:
    194
    andyb-unity likes this.