이제 Android XR SDK를 개발자 프리뷰로 사용할 수 있습니다. 의견을 기다립니다!
지원 페이지를 방문하여 문의하세요.
Unity용 Android XR 확장 프로그램 빠른 시작
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
각 기능에는 코드 및 장면 설정을 사용하고 실험할 수 있는 샘플이 포함되어 있습니다. 이 빠른 시작에서는 Unity 패키지의 Android XR 확장 프로그램을 가져온 후 얼굴 추적 샘플을 구성하는 방법을 안내합니다.
기본 요건
이 단계를 완료하기 전에 Unity 프로젝트 설정에 설명된 단계를 완료했는지 확인하세요.
패키지 가져오기
Git URL에서 Unity Package Manager 패키지를 로드하려면 다음 단계를 따르세요.
- 창에서 패키지 관리자를 엽니다.
- 패키지 관리자 툴바에서 추가 메뉴를 엽니다.
- 패키지 추가 옵션에서 + (더하기) 버튼을 클릭합니다.
드롭다운 목록에서 git URL에서 패키지 설치를 클릭합니다.

다음 URL을 입력합니다.
https://github.com/android/android-xr-unity-package.git
설치를 선택합니다.
얼굴 추적 샘플 구성
이 샘플을 포함한 모든 샘플에는 프로젝트를 구성하고 설정하는 방법에 관한 안내가 포함된 리드미 파일이 포함되어 있습니다.
샘플을 가져오고 구성하려면 다음 단계를 따르세요.
Package Manager(패키지 관리자) > In Project(프로젝트 내) > Unity용 Android XR 확장 프로그램으로 이동합니다.

샘플 탭을 선택합니다. 얼굴 추적 샘플을 찾아 가져오기를 클릭합니다.

Edit(수정) > Project Settings(프로젝트 설정) > XR Plug-in Management(XR 플러그인 관리)로 이동합니다.
Android 탭의 플러그인 제공업체에서 OpenXR을 사용 설정합니다.
그런 다음 Android XR (확장 프로그램) 기능 그룹을 사용 설정합니다.

Edit(수정) > Project Settings(프로젝트 설정) > XR Plug-in Management(XR 플러그인 관리) > OpenXR로 이동합니다.
Android XR: 얼굴 추적을 사용 설정합니다.

XR 플러그인 관리 > 프로젝트 유효성 검사에서 모든 OpenXR 관련 문제를 수정합니다. 이렇게 하면 플레이어 설정을 구성하는 데 도움이 됩니다.

Project에서 Assets > Samples > Unity용 Android XR Extensions > version > Face Tracking에 있는 FaceTracking 장면을 엽니다.

OpenXR™ 및 OpenXR 로고는 Khronos Group Inc. 소유의 상표이며 중국, 유럽연합, 일본, 영국에서 상표로 등록되어 있습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Android XR Extensions for Unity quickstart\n\nEach feature includes a sample for you to use and play with code and scene\nsetups. This quickstart walks you through importing the Android XR Extensions\nfor Unity package and then configuring the face tracking sample.\n\nPrerequisites\n-------------\n\nBefore completing these steps, make sure you've completed the steps described in\n[Unity project setup](/develop/xr/unity/setup).\n\nImport packages\n---------------\n\nTo load a Unity Package Manager package from a Git URL:\n\n1. In **Window** , open the **Package Manager**.\n2. Open the add menu in the **Package Manager** toolbar.\n3. In the options for adding packages, click the **+** (plus) button.\n4. In the drop-down list, click **Install package from git URL**.\n\n5. Enter the following URL:\n\n https://github.com/android/android-xr-unity-package.git\n\n6. Select **Install**.\n\nConfigure the face tracking sample\n----------------------------------\n\nAll samples, including this one, include a README file containing\ninstructions on how to configure and set up the project.\n\nTo import and configure the sample:\n\n1. Go to **Package Manager** \\\u003e **In Project** \\\u003e **Android XR Extensions for Unity**.\n\n2. Select the **Samples** tab. Find the **Face Tracking** sample and click **Import**.\n\n3. Go to **Edit \\\u003e Project Settings \\\u003e XR Plug-in Management**.\n\n4. In the **Android** tab, under **Plug-in Providers** , enable **OpenXR**.\n\n Then, enable the **Android XR (Extensions) feature group** .\n5. Go to **Edit \\\u003e Project Settings \\\u003e XR Plug-in Management \\\u003e OpenXR**.\n\n6. Enable **Android XR: Face Tracking**.\n\n7. Under **XR Plug-in Management \\\u003e Project Validation**, fix all OpenXR-related\n issues. This helps configure your Player Settings.\n\n8. In your **Project** , open the **FaceTracking** scene, located in **Assets \\\u003e Samples \\\u003e Android XR Extensions for Unity \\\u003e *version* \\\u003e Face Tracking**.\n\n*** ** * ** ***\n\nOpenXR™ and the OpenXR logo are trademarks owned\nby The Khronos Group Inc. and are registered as a trademark in China,\nthe European Union, Japan and the United Kingdom."]]