XR は、以下のタイプのアプリケーションを含む包括的な用語です。
Unity は戦略的パートナーと緊密に連携し、Unity がサポートするプラットフォーム用のコンテンツを開発する際に、クリエイターが必要なすべてのサポートを得られるようにしています。これには、深いプラットフォームのインテグレーション、Unity エンジンの改善、各プラットフォームの XR 技術スタックの最適化が含まれます。
2019.3 現在、Unity は XR 用に以下のプラットフォームを正式にサポートしています。
ノート: Valve と Google は Unity の XR SDK を使用して、それぞれ OpenVR と Cardboard 用の独自のプラグインを開発しました。これらのプラグインは Unity 2019.3 以降と互換性があります。詳細は、VR 開発入門 のページを参照してください。
Unity は XR SDK と呼ばれる新しいプラグインフレームワークを開発しました。これにより、XR プロバイダーを Unity エンジンと統合し、その機能を十分に活用できます。このプラグインベースのアプローチは Unity の能力を向上させ、迅速なバグ修正を行い、プラットフォームパートナーから SDK の更新を配布し、コアエンジンを変更することなく新しい XR デバイスとランタイムをサポートします。詳細は以下を参照してください。
2019.3 では、Unity は XR プラットフォームのインテグレーションをサポートする新しいプラグインフレームワークに移行しました。その結果、ビルトインの XR プラットフォームインテグレーションは非推奨になりました。これらのインテグレーションは 2019.3 でも引き続き使用可能で、2019.4 でも機能します。 Unity はこれらのインテグレーションのための新機能を開発しませんが、重要なバグ修正を提供し続けます。
ビルトインのインテグレーションとそれに対応するドキュメントは以下の通りです。
ノート: (1) Vuforia Engine ビルトイン パッケージ (Vuforia Engine AR) は、2019.3 以降、ネイティブで配布されなくなり Unity によって直接サポートされなくなります。Vuforia Developer Portal から Unity の Vuforia Engine の新しいバージョンを引き続きダウンロードできます。
AR 概要 ページでは、AR アプリケーションの作成の準備、ダウンロードする必要のあるパッケージの一覧、参考ドキュメントへの関連リンクを提供しています。Unity は、AR Foundation と XR Management パッケージをダウンロードして、Unity がサポートするハンドヘルド AR デバイスやウェアラブル AR デバイスのアプリケーションを作成することを推奨します。
VR 概要 ページでは、VR アプリケーションの作成方法の詳細、ダウンロードが必要なパッケージの一覧、関連ドキュメントへの関連リンクを提供しています。まず最初に、XR Management と XR Interaction Toolkit (プレビュー) パッケージをダウンロードして Unity がサポートする VR デバイスのアプリケーションを作成することを推奨します。
Unity の XR 機能のほとんどは パッケージ で提供されており、Package Manager を使用してインストールします (Unity のメインメニューから Window > Package Manager に移動します)。 Package Manager ウィンドウに各パッケージの詳細情報が表示されます。
ノート: プレビューパッケージを見るには、Package Manager ウィンドウの Advanced ドロップダウンをクリックし、Show Preview Packages を選択します。
ダウンロードするパッケージの包括的なリストは、AR 概要 と VR 概要 のページを参照してください。
AR Foundation Samples GitHub リポジトリ には、Unity の AR Foundation API の例が含まれています。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.