Unity uses the vrtk4 plug-in to package the htv vive VR client package, but the handle does not take effect.

background:

Purpose: u3d uses vrtk to develop pico applications (vrtk is for seamless connection with htc vive pro 2 that will be purchased later)

First imported the tilia importer (that is, vrtk4.0, modular use function according to the tutorial) and "PICO Unity IntegrationSDK-214-20230302-SupportU3 d2020.3.21-2021.3.21" under the pico official website to u3d2020.3.47, successfully completed pico Installation and use of apk vr package (when using Android, project setting xr plug-in Management, remember to check pico in Android)

Later, I need to package the htc exe vr application. In the editor, I imported the steam vr pictured below according to some posts, and then checked the openVR loader. I found that the controller did not work at all. In fact, there is no need to import this plug-in.

Solution: Import the following OpenXR Plugin and check OpenXR.

 Then select OpenXR below and add htc vive controller profile

 When out of the package, you can use the same input as pico.

If your package cannot call stream vr, see the article:

Unity packages the htv vive client package, but SteamVR cannot be loaded_LuckyDog Axiang's blog-CSDN blog

 

おすすめ

転載: blog.csdn.net/luckydog1120446388/article/details/131696485