AR Foundation AR Planes Being Created Far Away
Unity 2019.3.6 AR Foundation 2.1.8 Ar Subsystem 2.1.2 ARCore XR Plugin 2.1.8 Google Pixel 3
I have been following the AR Foundation Setup Guide: https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@2.1/manual/plane-manager.html https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@2.1/manual/index.html
Everything seems to work but the problem is, it does not create my planes over my current space. Instead it creates them in a far away place outside of the room I am working in. You can see that in the screenshots below. Has anyone experienced this. I spent 2 days trying to fix this. Please help.
Answer by mdurand · May 18, 2020 at 10:43 PM
Hi-
You might try comparing your scene setup with the SimpleAR scene in our AR Foundation Samples repo: https://github.com/Unity-Technologies/arfoundation-samples/tree/2.1
Off-hand I would say that your AR Session Origin is not properly set up based on what I see in your screenshots.
Actually, a good first step would be to sync that repo (you will want the 2.1 branch) and try to get that running successfully on your device.
The issues list on the AR Foundation Samples repo is a good place for resolving issues when you are new to AR Foundation development.
-Mike
After downloading this and copying the package manifest over it fixed the issue with the camera tint.
After copying the AR Session and AR Session Origin object in i noticed the difference was there was a point cloud added and ins$$anonymous$$d of a XR Pose Driver there was a pose driver script.
The next question is could this be added at runtime dynamically from a script?
Your answer
Follow this Question
Related Questions
GUI buttons within an augmented GameObject AR Foundation 0 Answers
black screen and froze UI in android AR app with scripting backend il2cpp build 0 Answers
how to move multi scenes in unity using android studio buttons 0 Answers
What are the options for making AR mobile application for iOS/Android/Windows Phone? 0 Answers
How to integrate Wikitude Javascript API and mark GPS objects in Unity? 1 Answer