LoginSignup
4
5

More than 1 year has passed since last update.

Unity DOTSの環境構築が大変すぎた

Last updated at Posted at 2022-03-06

Unity DOTSの環境構築で苦労したので、プロジェクトのセットアップ方法をメモします。

※DOTSは記事執筆時点でUnity2020を推奨しています(コメント参照)

最終的な環境

Package Version
Unity 2021.2.14f1
com.unity.collections 0.15.0-preview.21
com.unity.entities 0.17.0-preview.42
com.unity.render-pipelines.universal 12.1.5
com.unity.rendering.hybrid 0.11.0-preview.44

Entitiesのインストール

PackageManagerからパッケージ名を指定してcom.unity.entitiesをインストールすると、なぜかcom.unity.collectionsの最新版がインストールされるため、事前にmanifest.jsonにcom.unity.collectionsの0.15.0-preview.21を追記しておきます。
ついでにcom.unity.entitiesもここで追加しましょう。

Hybrid Rendererのインストール

Unity2022.1ではUnityEngine.Rendering名前空間の中身が変わっているようなので、Unity2021.2を使いましょう。
Package Managerからパッケージ名を指定してインストールしましょう。

4
5
3

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
4
5