
Before we start the ARCore CloudAnchors, under processes will be done:
JDK to use keytoolGoogle Cloud Platformarcore-unity-extensions package from the google-ar official github.
Create a new Project Templated by AR (Core).
3.2.02021.3.6f1 (LTS)
0. PrerequisitesWindows > Package Manager > + Add package from disk... > package.jsonPersistent Cloud Anchor SamplePlayer
Other Settings > Set the Target API Level to API Level 32Package Name to what you want.
Publishing Settings > Keystore Manager... > Create New
XR Plug-in Management
Plug-in Providers > Check ARCore

ARCore Extensions / Android Authentication Strategy > Change Keyless (Recommanded)
Optional Features > Check Cloud Anchors


Click the button to use ARCore Cloud Anchor API.

Create a new API Key.

And set the API Restriction to ARCore Cloud Anchor API, then Save.
SHA-1 Fingerprint from keystore
cd <Java/JDK/bin/>
.\keytool.exe -list -v -keystore <your keystore path>
Enter keystore password: <your password>
Backup SHA-1 Certificate fingerprint.

Create OAuth Client ID

Package name in Project SettingsSHA-1 Certificate fingerprint in keystoreAnd then Save.

PersistentCloudAnchors.unity Scene in Assets/Samples

Android



[Link] https://developers.google.com/ar/develop/unity-arf/cloud-anchors/developer-guide-android
[Link] https://www.oracle.com/java/technologies/downloads/
[Link] https://github.com/google-ar/arcore-unity-extensions