docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Edit the project manifest

    You can edit the project manifest to add the XR Hands package to your project. The project manifest identifies which packages Unity should use for the project.

    Tip

    XR Hands 1.4 is compatible with Unity Editor versions 2021.3 and newer, but if it does not appear in the Package Manager window we recommend updating to the latest patch version of the Unity Editor. If you do not wish to update, you can follow the steps below to manually edit your project manifest file:

    1. In the Project window, right-click on Packages and choose the Show in Explorer (Windows) or Show in Finder (Mac) option.

    2. Open Packages/manifest.json in a text editor.

    3. Under "dependencies", add:

      "com.unity.xr.hands": "1.4.1"

      A sample project manifest is shown in a text editor. The line containing "com.unity.xr.xr.hands" is called out.
      A typical manifest with the XR Hands package version 1.4.1 added

      All edits must use correct JSON syntax.

    4. Save your changes.

    Note

    If the Editor is open, Unity imports your chosen version of XR Hands when the Editor regains focus. Otherwise, Unity imports packages when you open the project.

    See Package states and lifecycle for more information about how Unity manages packages.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)