Oculus Link での開発でパススルーをオンにする

環境

  • Windows 11 Pro 252H
  • Unity 6 6000.03.1f1
  • Meta Horizon Link Version 85.0.0.239.552 (85.0.0.239.552)

Unity で Quest 対応のアプリを構築している際に Link での確認で、パススルーをオンにするとエラーが出て砂時計のまま開けないというエラーが出ました。

コンソールでは以下のエラーが表示されています。

Failed to initialize Insight Passthrough. Please ensure that all prerequisites for running Passthrough over Link are met: <a href="https://developer.oculus.com/documentation/unity/unity-passthrough-gs/#prerequisites-1">https://developer.oculus.com/documentation/unity/unity-passthrough-gs/#prerequisites-1</a>. Passthrough will be unavailable. Error Failure_NotInitialized.
UnityEngine.Debug:LogError (object)
OVRManager:InitializeInsightPassthrough () (at ./Library/PackageCache/com.meta.xr.sdk.core/Scripts/OVRManager.cs:3606)
OVRManager:InitOVRManager () (at ./Library/PackageCache/com.meta.xr.sdk.core/Scripts/OVRManager.cs:2355)
OVRManager:Awake () (at ./Library/PackageCache/com.meta.xr.sdk.core/Scripts/OVRManager.cs:2455)

やり方

PC で Meta Holizon アプリを開きます。

Settings を開いて Developer タブを開きます。
Developer Runtime Features を ON にします。

続いて、Passthrough over Meta Horizon Link をオンにします。

前提

OVR Manager の Passthrough & Guardian Boundary の中の Enable Passthrough にチェックを入れてださい。

参考

https://developers.meta.com/horizon/documentation/unity/unity-passthrough-use-over-link/?locale=ja_JP

おわりに

株式会社coiaiではOculus向けのアプリも構築しています。受託開発、一次受けも設計から可能ですのでお問い合わせください。

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA