Serialized Addressables Asset Reference Inspector
Issue #644
new
Changing the value of an AssetReferenceGameObject
(from the addressables package) on a prefab then saving (Ctrl + S) spams the following error in the console:
Repro Steps:
- Start a brand new project in Unity 2019.3.3f1
- Import the Odin 2.1.11 package
- Install the Addressables package via Package Manager
- Create two empty prefabs and mark them as addressable
-
Add a script that serializes an
AssetReferenceGameObject
public class HasAddressablesRef : MonoBehaviour { public AssetReferenceGameObject ref; }
-
Add the script to one prefab
- Set the asset reference variable in the inspector to the other prefab
- Without selecting any other objects, save (Ctrl + S)
I’ve included a repro project with everything above except the Odin package. The prefab Cube has the script.
Untiy Version: 2019.3.3f1
Odin Inspector & Serializer: 2.1.11
Windows 10
Editor Only mode is not enabled.