5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Unity】VIVE XR Elite/Flow VRアプリ開発 Vive Wave SDK 5.2.1版

Last updated at Posted at 2023-05-28

はじめに

VIVE XR EliteやVIVE Flow向けにVRアプリを開発する手順を解説します。

開発環境

  • Unity 2019.4.29f1
  • Vive Wave SDK 5.2.1
  • Vive Input Utility 1.18.1

手順

  1. UnityのPlatformをAndroidにする。

  2. Project Settings> PackageManagerでHTCのレジストリを登録
    Name: VIVE
    URL: https://npm-registry.vive.com
    Scope(s): com.htc.upm
    image.png

  3. PackageManager - MyRegistoryにHTC Corporationが追加されるので、Vive Wave XR Plugin 5.2.1-r.1をインストール
    image.png

  4. 続けて、Vive Wave XR Plugin -Essense 5.2.1-r.1もインストール
    -Nativeは依存関係があるので、自動的にインストールされます。

Vive Input Utilityをインストールしてサンプルを動かす

同じくHTCのRegistriesにあるVIVE Input Utilityをインストールします。
Vive Input UtilityはVRアプリ開発のための便利なToolkitです。
詳細は公式のWikiを参照してください。
https://github.com/ViveSoftware/ViveInputUtility-Unity/wiki

  1. Vive Input Utility 1.18.1をインストール
    image.png

  2. ダイアログでおすすめ設定が提示されるのでAccept All
    image.png

  3. サンプルプロジェクトを試す
    インストールしたらサンプルをインポートしましょう。
    お好きなものをインストールして試してください。
    ここでは3D Dragを試します。
    image.png

  4. 3DDragシーンを開きます
    image.png

ビルドして実機で動作確認する

  1. Project Settings > XR Plug-in ManagementでWaveXRにチェック
    image.png

  2. Preferences > VIU SettingsのSupporting Deviceで Wave XRのみにチェック。他のDeviceにチェックが入っていたら外してください。
    image.png

  3. プロジェクト設定
    Proejct Settigns > PlayerでCompany Name/ProductNameを設定。
    image.png

  4. ビルドして実行
    PCにVIVE XR Elite or VIVE FlowをUSBで接続してBuild & Runしてください。
    image.png

以上です。

参考

宣伝

Psychic VR Labが開発・運営するXRプラットフォーム"STYLY"はVIVE XR Elite/Flowにも対応しています。
「ちょっとVRコンテンツを作りたいけど、アプリを作るのは手間がかかる。」なんて時にもご活用ください。
XR Eliteのパススルーにも対応しています!

VIVEPORT STYLYへのリンク

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?