facebook twitter hatena line email

Unity/VR/VRTK

提供: 初心者エンジニアの簡易メモ
2023年12月18日 (月) 21:34時点におけるAdmin (トーク | 投稿記録)による版 (SteamVRPluginインストール)

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
移動: 案内検索

SteamVRPluginインストール

SteamVRPlugin https://assetstore.unity.com/packages/tools/integration/steamvr-plugin-32647

20221015現在、v.2.7.3だった。

windowsとlinuxのみで、mac版はない。

githubでは、2.8.0b1を公開。https://github.com/ValveSoftware/steamvr_unity_plugin/releases

"Switching to Windows, Mac, Linux:WindowsStandaloneSupport is disabled"エラーが出る時

モジュール追加から、WindowsBuildSupportをインストールればよい。

VRTKインストール

VRTK https://assetstore.unity.com/packages/tools/integration/vrtk-virtual-reality-toolkit-vr-toolkit-64131

20221015現在、v.3.3.0だった

再生時に"error CS0117: 'XRDevice' does not contain a definition for 'model'"が出る

詳細

Assets/VRTK/Source/SDK/Base/SDK_BaseHeadset.cs(150,57): error CS0117: 'XRDevice' does not contain a definition for 'model'

unityバージョン2018だとmodelがあるので、このエラーは出なくなる。