2
2

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 5 years have passed since last update.

UnityからビルドしてOculus Quest内でキューブを見られるようになるまで

2
Posted at

Unity Hubのインストール

Download - Unity
Unity HubはUnityのバージョン管理用アプリケーションらしい
最新版のUnityをUnity Hubを通してインストールしておく

Oculus側の設定や手順

基本的に以下の記事に従っていればok
Unityで作ったアプリをOculus Questで動かす - Qiita

ただ、ちょこちょこ細かいところで詰まった部分があったので以下対処法メモ

AndroidへSwitch Platformする

Unityの File > Build Settings > Android へ Switch Platformする時、
モジュールはそのウィンドウ上で案内されているリンクからダウンロードするのではなく、
Unity Hubの インストール > 自分が利用中のUnityのバージョンの右上にある三点メニュー > モジュールを加える > Android Build Support を選択して追加する
(リンクからダウンロードしたモジュールはエラーが出てインストールできない)

また、 Android Build Supportの文字の左にある下三角を押して Android SDK & NDK Tools と Open JDK もインストールする

Unityの Platform > External Tools にJDKとAndroid SDK/NGKの設定欄があるのでエラーが出ていないか確認しておく

参考 :

Renderingの設定

Build Setting > Player Setting >Other Settings>Rendering>Graphics APIs から Vulkan を選択し「-」を押して外しておく

参考 :

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?