简体   繁体   中英

How do you install XR Interaction Toolkit in Unity 2021.3?

Neither of these work:

  • Installing by name: com.unity.xr.interaction.toolkit
  • Installing by registry preview.

I think the problem is with running the LTS version of Unity. As soon as I switched to 2022.1 (non-LTS) the package showed up without even manually typing the name.

Even though it is Unity's own native plugin but it is not listed in Window-PackageManager-UnityRegistry because it is still in preview. This works for pre-2021 releases. Click on Advanced Project Settings

在此处输入图像描述

Enable Preview Packages then confirm it:

在此处输入图像描述

Now back to Package Manager, XR Interaction Toolkit should be in the list:

在此处输入图像描述

  • You could also add the package with Add package from git url using com.unity.xr.interaction.toolkit

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM