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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Discussion Is there a turotial for using XROrigin?

Discussion in 'AR' started by nosarious, Mar 13, 2023.

  1. nosarious

    nosarious

    Joined:
    May 14, 2014
    Posts:
    13
    I have been using this guide for setting up a basic AR system in Unity, but it is out of date: https://github.com/fariazz/ARFoundationPlacementIndicator
    (also an error I resolved with a fork)

    Everything is based off the old AR Session Origin and AR Origin and now we are to use XR origin, especially if using XR Interaction manager.

    However, when I try to use XR Origin I end up with a black screen and 'hints' that I am to set up AR Camera and AR Camera Background scripts: https://docs.unity3d.com/Packages/c...2.0/manual/xr-origin.html#how-to-setup-for-ar

    Neither of which are really explained in a tutorial. I don't know where the AR Camera Background even is.

    Is there a clear non-video tutorial for setting XR ORigin up? I am trying to build an AR app on an iphone and android and am spending a large amount of time trying to resolve issues with revisions...
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    3,470
    Do you use URP?
    If so, you need to add the URP render feature to the urp renderer asset. Then set the camera color to black
    Also update to the latest LTS bugfix if possible
     
  3. CindyG

    CindyG

    Joined:
    Mar 29, 2019
    Posts:
    6
  4. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    525
    KyryloKuzyk likes this.