The ARCore SDK for Unity was deprecated in 2021 and is no longer supported. Additionally, the ARCore SDK for Unity cannot be used with Unity 2020 and later. Developers starting new projects should instead use the ARCore Extensions for AR Foundation. This SDK should only be used by developers working on existing projects which are unable to migrate to AR Foundation.

Configure an ARCore session in Unity

Stay organized with collections Save and categorize content based on your preferences.

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