arcore-unity-extensions
arcore-unity-extensions copied to clipboard
AREarthManager.EarthState is NotAuthorized even though AREarthManager.CheckVPSAvailability returns Available
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
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