Unity-Technologies / Unity-Technologies/UnityDataTools
Usage from within Unity
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 821
- フォーク
- 71
- 平均マージ
- 3時間 13分
- マージ済み PR(30日)
- 9
説明
I tried using these tools from inside Unity to analyze import artifacts and for build postprocessors of generated data, which to be best of my understanding fall under SerializedFile.
However, it seems that the app doesn't properly work with domain load and unload, after a first attempt I'm always getting

for subsequent tries.
Are there plans to get this to work?
I found a relevant comment in the UnityFileSystem constructor that leads me to believe this is a bug / not implemented:
static UnityFileSystem()
{
// Initialize the native library.
var r = DllWrapper.Init();
HandleErrors(r);
// TODO: should Cleanup be called by the AppDomain.Unload event or something else?
}
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
UnityFileSystem の静的コンストラクターとその DllWrapper.Init 呼び出しから始め、次に AppDomain.Unload 中のクリーンアップに関する TODO を調べます。ドメインを読み込んでアンロードし、その後に別の解析を試行して、失敗を再現します。Unity から繰り返し使用しても報告されたエラーが発生せず、ネイティブライブラリのクリーンアップが適切に処理されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, unity
- 領域
- game-dev, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100