LoginSignup
10
6

More than 5 years have passed since last update.

OculusAvatarSDKを使うときに出たエラーまとめ

Posted at

自分がOculusAvatarSDKを使ったときに出たエラーと対応方法をまとめました。

インポートするもの

ドキュメントとか

発生したエラー

サンプルシーンが動かない

エラー内容

SDKをインポートした後とりあえずサンプルシーンをエディタで実行すると

DllNotFoundException: libovravatar

というExceptionが毎フレーム発生する

原因と対応

PCにOculusRiftのRuntimeがインストールされていなかったのが原因っぽい
https://forums.oculusvr.com/developer/discussion/64365/error-start-avatarwithgrab

ここからRuntimeをインストールする
https://www.oculus.com/setup/

個人のアバターが表示されない

エラー内容

個人のアバター(Personalized Avatars)を表示しようとするが表示されない
OculusUserIdがうまく取得できていないみたい

エディタでのエラーログ

GetLoggedInUserCallback:OVR35993423: Must call get_signature first (1971051)

OculusGoでのエラーログ

07-10 14:21:54.599: E/SignatureHelper(1574): Not a trusted user. Do you have Unlockulus or pass the IsTrustedUser gk?
07-10 14:21:54.601: E/ExternalPlatformLocal(1574): AppID found in Library does NOT match the appID in the bundle.
07-10 14:21:54.603: E/ProfileContentProvider(1574): Package not found in library
07-10 14:21:54.603: E/ProfileContentProvider(1574): com.oculus.horizon.service.ExternalPlatformLocal$PackageNotInLibraryException: Package jp.co.churapps.shimakaze.avatar.test not in users library

原因と対応

OculusGoで動かない原因はどうやらOculusのDeveloperDashboardからアプリをアルファ版でもいいから登録しないとだめみたい
https://forums.oculusvr.com/developer/discussion/62505/gear-vr-social-starter-problem-appid-found-in-library-does-not-match-the-appid-in-the-bundle

エディタで動かない原因は不明

OculusのDeveloperDashboardでアプリをアップロードしようとするとエラーになる

エラー内容

SnapCrab_NoName_2018-7-10_15-38-45_No-00.png

原因と対応

  • デバッグビルドのチェックを外した
  • Manifestを修正した
    • AndroidManifest.OVRSubmissionに記載されている内容をManifestに追記した
10
6
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
10
6