Send feedback
Update to AR Foundation version 5.x (Beta)
Stay organized with collections
Save and categorize content based on your preferences.
Caution: ARCore Extensions for Unity's AR Foundation is compatible with
AR Foundation versions 5.x, however, migrating your existing project may involve
more steps than outlined in this document. You may use this document as a
reference, but a new version with improved support for versions 5.x and 6.x is
in the works.
ARCore Extensions for Unity's AR Foundation supports both
versions 4.x
and
versions 5.x
of AR Foundation. To upgrade your existing AR project to AR Foundation 5.x from
AR Foundation 4.x, follow these steps:
Only in Unity 2021.x or older:
Some Unity packages are bound to specific Unity Editor versions .
You may need to edit the Package manifest
in your Unity project to update to AR Foundation 5.x in certain Unity Editor
versions. For more information, see Access AR Foundation 5.0 in Unity
2021 .
Ensure that the Packages/manifest.json contains these versions for the
following packages:
"dependencies": {
-- other dependencies --
"com.unity.xr.arcore": "5.0.5",
"com.unity.xr.arfoundation": "5.0.5",
"com.unity.xr.arkit": "5.0.5",
-- other dependencies --
}
ARCore Extensions for Unity's AR Foundation uses the ARCORE_USE_ARF_5
Custom scripting symbol
to determine version compatibility. For AR Foundation 5.x compatibility, add
the ARCORE_USE_ARF_5 Custom scripting symbol :
In Edit > Project Settings > Player > Other Settings , scroll down to Script Compilation .
Use the + button to add ARCORE_USE_ARF_5 .
Select Apply .
AR Foundation 5.x requires the Input System package
due to a dependency on TrackedPoseDriver
.
The ARCore Extensions Sample Scenes require the legacy input module.
To support both the Input System package and the older Input Manager,
in Project Settings > Player > Other Settings set Active Input
Handling to Both .
Follow other steps in Unity's AR Foundation
upgrade and migration guides .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"last_modified": "Last updated 2024-06-26 UTC.",
"state": ""
}