Is there a turotial for using XROrigin?

I have been using this guide for setting up a basic AR system in Unity, but it is out of date: GitHub - fariazz/ARFoundationPlacementIndicator: A visual placement indicator for Unity's AR Foundation.
(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: XR Origin | XR Core Utilities | 2.0.1

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…

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

Have you tried using the sample from Unity’s official GitHub? GitHub - Unity-Technologies/arfoundation-samples: Example content for Unity projects based on AR Foundation

Yes :). Scene setup | AR Foundation | 5.0.7

1 Like