Skip to content

Commit 8f76532

Browse files
authored
Merge pull request #49 from cs-util/master
Include arcore-unity-extensions git repo automatically via package manager
2 parents 5617f37 + 2930ace commit 8f76532

2 files changed

Lines changed: 3 additions & 23 deletions

File tree

Packages/manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"com.unity.ide.vscode": "1.2.3",
55
"com.unity.multiplayer-hlapi": "1.0.8",
66
"com.unity.test-framework": "1.1.24",
7+
"com.google.ar.core.arfoundation.extensions": "https://github.com/google-ar/arcore-unity-extensions.git",
78
"com.unity.ugui": "1.0.0",
89
"com.unity.xr.arcore": "4.2.0-pre.7",
910
"com.unity.xr.arfoundation": "4.2.0-pre.7",

README.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -48,29 +48,8 @@ require
4848
[**AR Foundation 4.2.0-pre.7**](https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/manual/index.html)
4949
or newer,
5050
[ARCore Extensions](https://developers.google.com/ar/develop/unity-arf) **1.24**
51-
or newer. Download `arcore-unity-extensions-1.24.0.tgz` from the ARCore
52-
Extensions for AR Foundation
53-
[releases page on GitHub](https://github.com/google-ar/arcore-unity-extensions/releases).
54-
55-
Choose one of the following approaches to import the ARCore Extensions Package:
56-
57-
1. Manually update dependencies before launching the project:
58-
59-
* Locate `arcore-depth-lab/Packages/manifest.json`.
60-
* Add the dependency of ARCore Extensions SDK with the loca path:
61-
`"com.google.ar.core.arfoundation.extensions":
62-
"file:{path/to}/arcore-unity-extensions-1.24.0.tgz",`
63-
* Launch the project with Unity Editor 2020.3.
64-
65-
2. Use Package Manager to import dependent package:
66-
67-
* Use Unity 2020.3 to open the project.
68-
* It's expected that a window pops up and shows there are compile errors
69-
in this project due to missing Extensions SDK, select **Continue**.
70-
* In Unity editor, navigate to `Window` -> `Package Manager`
71-
* Click the plus button, and choose the `Add package from tarball...`
72-
option from the drop-down menu.
73-
* Locate `arcore-unity-extensions-1.24.0.tgz` and click Open.
51+
or newer. The [ARCore Extensions sources](https://github.com/google-ar/arcore-unity-extensions)
52+
are automatically included via the Unity package manager.
7453

7554
This project only builds with the Build Platform **Android**. Build the project
7655
to an Android device instead of using the **Play** button in the Unity editor.

0 commit comments

Comments
 (0)