You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
Any plans to add iOS to the support requirements? I tried on my iPhone 14 and nothing showed up. street geometry seems to work on iOS, so I'm assuming it's technically possible.
The text was updated successfully, but these errors were encountered:
in Packages/manifest.json replace the 1.37 to 1.41 wherever you put it, eg "com.google.ar.core.arfoundation.extensions": "file:../Assets/Packages/arcore-unity-extensions-1.41.0.tgz",
switch build to iOS and set up the project as usual (see here): set camera and location usage description in Project Settings > Player, enable Apple ARKit in XR Plugin management, and add your iOS API key to the ARCore extensions settings, as well as enable Semantics on iOS there.
Then finally to also enable location permissions, which work differently on iOS (You'd get a Failed to configure the session with error: ErrorLocationPermissionNotGranted error otherwise)
Just create a new game object in the scene, call it "LocationMonitor" or whatever, and create a new script with a similar name (LocationMonitor.cs) to it with the following code:
public void OnEnable()
{
Input.location.Start();
}
public void OnDisable()
{
Input.location.Stop();
}
Turns out thats all thats really needed to make it work for iOS.
Any plans to add iOS to the support requirements? I tried on my iPhone 14 and nothing showed up. street geometry seems to work on iOS, so I'm assuming it's technically possible.
The text was updated successfully, but these errors were encountered: