You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/CrossPlatform/UsingARFoundation.md
+2-14Lines changed: 2 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,7 @@
2
2
3
3
## Install required packages
4
4
5
-
1. Download and import the **Microsoft.MixedReality.Toolkit.Providers.UnityAR** package, from [GitHub](https://github.com/microsoft/MixedRealityToolkit-Unity/releases/tag/v2.2.0) or [NuGet](../MRTKNuGetPackage.md)
6
-
7
-
> [!NOTE]
8
-
> After you import the the UnityAR package, you will see the following error:
9
-
> *Assembly has reference to non-existent assembly 'Unity.XR.ARFoundation' (Assets/MixedRealityToolkit.Staging/UnityAR/Microsoft.MixedReality.Toolkit.Providers.UnityAR.asmdef)*
10
-
". To resolve, install the correct version of ARFoundation listed below.
5
+
1. Download and import the **Microsoft.MixedReality.Toolkit.Unity.Foundation** package, from [GitHub](https://github.com/microsoft/MixedRealityToolkit-Unity/releases/tag/v2.3.0) or [NuGet](../MRTKNuGetPackage.md)
11
6
12
7
1. In the Unity Package Manager (UPM), install the following packages:
13
8
@@ -18,20 +13,13 @@
18
13
| AR Foundation <br/> Version: 1.5.0 - preview 6 | AR Foundation <br/> Version: 1.5.0 - preview 6 | For Unity 2018.4, this package is included as a preview. To view package: Window > Package Manager > Advanced > Show Preview Packages|
1. If using Unity 2019.x, the assembly definition file for the Unity AR provider needs to be modified to have the **UnityEngine.SpatialTracking** reference added.
29
-
30
-
> [!NOTE]
31
-
> MRTK will automatically update the assembly definition based on the version of Unity in which the project has been loaded. This information is presented here for reference.
32
-
33
-

34
-
35
23
## Enabling the Unity AR camera settings provider
36
24
37
25
The following steps presume use of the MixedRealityToolkit object. Steps required for other service registrars may be different.
0 commit comments