Configure an ARCore session in Unity

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:

Configure a session

Create a new session configuration in ARCore.

  1. In Unity, create a new session configuration by navigating to Assets > Create > Google ARCore > SessionConfig.

  2. Select ARCore Device in the project hierarchy.

  3. Double-click the Session Config field and select the SessionConfig created previously.

Next steps