Google is committed to advancing racial equity for Black communities. See how.

Developer Guide

AR Session management

In AR Foundation 2.1 and 3.1 destroying the ARSession game object would destroy the underlying ARCore session.

Starting with AR Foundation 4.0, you must use the LoaderUtility functions to destroy and create subsystems instead. See the AR Foundation 3.x to 4.x migration guide.