facebook twitter hatena line email

「Unity/VR/VRTK」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(再生時に"error CS0117: 'XRDevice' does not contain a definition for 'model'"が出る)
(SteamVRPluginインストール)
 
行2: 行2:
 
SteamVRPlugin https://assetstore.unity.com/packages/tools/integration/steamvr-plugin-32647
 
SteamVRPlugin https://assetstore.unity.com/packages/tools/integration/steamvr-plugin-32647
  
20221015現在、v.2.7.3だった
+
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"エラーが出る時===
 
==="Switching to Windows, Mac, Linux:WindowsStandaloneSupport is disabled"エラーが出る時===

2023年12月18日 (月) 21:34時点における最新版

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があるので、このエラーは出なくなる。