arcore-unity-extensions icon indicating copy to clipboard operation
arcore-unity-extensions copied to clipboard

AREarthManager.EarthState is NotAuthorized even though AREarthManager.CheckVPSAvailability returns Available

Open yvz-dmr opened this issue 6 months ago • 1 comments

I am using ar core unity extensions v1.45 and using ios authentication strategy as Authentication token. I am generating jwt token and setting it through ARAnchorManager.SetAuthToken. Everything works perfect i can host and resolve google cloud anchor and i can check VPSAvailability but when i check EarthState it returns ErrorNotAuthorized and AREarthManager.EarthTrackingState is always TrackingState.None.

I checked google cloud console ar core api traffic by response code and all request responded with status code 200 image

Here is the jwt payload of my authentication token { "sub": "[email protected]", "nbf": 1724234866, "exp": 1724238466, "iat": 1724234866, "iss": "[email protected]", "aud": "https://arcore.googleapis.com/" }

I am using unity version 6000.0.15f1

yvz-dmr avatar Aug 21 '24 10:08 yvz-dmr