_ES3Ref is changing somehow for ScriptableObjects
Posted: Thu Jan 12, 2023 10:36 pm
Hi there,
I have a ScriptableObject (let's name it inventory SO) that holds a List of a serialized custom class (let's name it InventoryItem)
this custom class has a reference to another ScriptableObject (let's name it InventoryItem SO)
One or two of those InventoryItem SO's that I have created recently are serialized with different _ES3Ref values when I save the serialized InventorySO
For me this results - strange to me - with null references for those InventoryItem SO's
I faced this when loading another scene - then I saw that my Inventory SO with the list of InventoryItems has some of them with null values (InventoryItem SO's references)
For some of my ScriptableObjects (InventoryItem SO's) I cannot reproduce this. It is just for the recently created ones
Any idea? How can I expose the ES3Ref? Where is this coming from?
Thanks and cheers
Edit: seems that this post has a very similar issue https://moodkie.com/forum/viewtopic.php?t=1723
I have a ScriptableObject (let's name it inventory SO) that holds a List of a serialized custom class (let's name it InventoryItem)
this custom class has a reference to another ScriptableObject (let's name it InventoryItem SO)
One or two of those InventoryItem SO's that I have created recently are serialized with different _ES3Ref values when I save the serialized InventorySO
For me this results - strange to me - with null references for those InventoryItem SO's
I faced this when loading another scene - then I saw that my Inventory SO with the list of InventoryItems has some of them with null values (InventoryItem SO's references)
For some of my ScriptableObjects (InventoryItem SO's) I cannot reproduce this. It is just for the recently created ones
Any idea? How can I expose the ES3Ref? Where is this coming from?
Thanks and cheers
Edit: seems that this post has a very similar issue https://moodkie.com/forum/viewtopic.php?t=1723