codelab-geospatial icon indicating copy to clipboard operation
codelab-geospatial copied to clipboard

Geolocation not properly aligning

Open travis-rothbloom opened this issue 2 years ago • 1 comments

Using Unity 2021.3.17f1 and deploying to a Pixel 3 using Android 12 SP1A.210812.016.C2, I was able to achieve phone geolocation as evidenced by displaying the geometry and seeing that it aligned with the buildings (below-right). However, the actual 3D model I wanted to display (see below-left) should've been on the building itself. Screenshot 2023-05-18 175137

Video of the app in-action, showing that the 3D model many meters away from where I placed in Unity: https://photos.app.goo.gl/iYgXBWSVkvghr3DJ9

I have been able to get this project to work with another model in another location. What is the best way to debug this all? image

travis-rothbloom avatar May 19 '23 20:05 travis-rothbloom

I found that the issue was that somehow, the anchor was disabled. Seems like everything is resolved now.

travis-rothbloom avatar Jun 06 '23 13:06 travis-rothbloom