1
1

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.

(OculusLink+Unity2020) OVRCameraRigがUnityデバッグ時にちゃんと動かない際の対処法

Last updated at Posted at 2022-03-29

概要

OculusLink+UnityでのVRデバッグが上手くいかずハマった際のメモ + 対処法

環境・機材

  • OculusQuest2
  • Unity 2022.3.31f1
  • Oculus Integration 38.0 (import済み)

症状

UnityのScene上にOVRCameraRigを配置したにも関わらず、再生ボタンを押してもQuest2の方に映像が反映されない.(OculusLinkを繋いだ状態)

※OVRCameraRig : Oculus Integrationに付随するVR開発を支援するツール

対処法

Unity上部のタブから Window → PackageManagerを開く

→ UnityRegistry → Oculus XR Pluginを選択 → import

→ UnityRegistry → Open XR Pluginを選択 → import

(2022/4/7追記:OpenXRPlugin無しでもデバッグ・Androidビルドできました)

pm.png

次にProjectSettings → XR_Plug-in_Management → Plug-inProviders の中のOculusの項目にチェックを入れる

pm2.png

最後に

Unityを再起動し、再生ボタンを押してUnity上のVRデバッグが出来ることを確認する

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?