Addressables AssetReference "None" value is not saved in Editor when used in Prefab
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
Start with the attached project, open SampleScene, and reproduce the issue on the ObjectWithReference instance by changing Asset Reference to None, saving, reloading, and checking the Inspector. Trace how the prefab instance value is saved and restored; done means None remains None after the scene is saved and reloaded.
索引モデルが issue の本文から書いたものです。
説明
- There is a public field of Addressables.AssetReference type in MonoBehaviour component.
This component is attached to a GameObject that is converted into prefab. Then prefab instance is added to the Scene. Changing field value to anything except "None" (empty) works fine. But after the value has been changed to anything it can not be changed back to "None" (empty value).
Changing value inside of the Prefab to anything except "None" partially solves the problem, but that's not a solution because it forces the prefab to keep reference to some object.
- Steps to reproduce:
2.1. Open project attached.
2.2. Open the SampleScene and select ObjectWithReference instance on the Scene.
2.3. In Inspector change value of field "Asset Reference" to "None".
2.4. Save the Scene.
2.5. Reload the Scene.
2.6. Select ObjectWithReference instance on the Scene.
2.7. Result: the value is not "None" but the reference to the object that was set before.
Expected result: the value is set to "None".
- 主要言語
- C#
- スター
- 1.5k
- フォーク
- 303
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Unity-Technologies/Addressables-Sample のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Unity-Technologies/Addressables-Sample#98 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Unity-Technologies/Addressables-Sample#94 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
Unity-Technologies/Addressables-Sample#90 · コメント 1 件 ·
Unity-Technologies/Addressables-Sample の issue をすべて見る
似ている issue
-
effort:S P3 refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nightscout/nocturne#1532 ·
-
core dependencies
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
C#/.NET Roslyn LSP オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DotNetNext/SqlSugar#1458 ·