Marker Source Selection
During the initial setup, the user is asked to select a marker source. This option determines where the spatial marker data will be stored and retrieved from.

Marker sources can include Local storage (saving markers on the device) or Cloud storage (syncing markers with a remote server). The chosen marker source affects how marker data is managed and shared across sessions or devices.
Local storage
If local storage is selected as the marker source, then the marker data will be stored per model in PlayerPrefs as a JSON.
It is loaded on startup and saved when markers are submitted or when Play Mode is stopped.
Cloud Storage
If cloud storage is selected as the marker source, the user will be prompted to log in with their Unity account. This authentication step ensures secure access to cloud features and enables marker data to be synced across devices.
The log in interface appears when required, guiding the user through the sign-in process. Once authenticated, the user can proceed to interact with markers using cloud storage.
Logging in
To access your projects, sign in if you haven't already done so:
- In the Game section of the sample, select Login.
- In the web browser that opens, select Allow Login Request.
- When a message informs you that you're signed in, close the browser and go back to the Unity Editor.

- Select an organization. The list of projects in the selected organization will be displayed below.

- Select a project in which you want to store your sample marker data.

Authentication state will be saved and restored automatically to speed up login process.