Configure an ARCore session to build AR experiences for your app.
What is a session?
All AR processes, such as motion tracking,
environmental understanding, and lighting estimation, happen inside an ARCore
session. Session
is the main entry point to the ARCore
API. It manages the AR system state and handles the session lifecycle, allowing
the app to create, configure, start, or stop a session. Most importantly, it
enables the app to receive frames that allow access to the camera image and
device pose.
The session can be used to configure the following features:
- Lighting Estimation
- Cloud Anchors
- Augmented Images
- Augmented Faces
- Depth API
- Instant Placement
- ARCore Geospatial API
Configure a session
Create a new session configuration in ARCore.
In Unity, create a new session configuration by navigating to Assets > Create > Google ARCore > SessionConfig.
Select ARCore Device in the project hierarchy.
Double-click the Session Config field and select the
SessionConfig
created previously.