Reply To: [BUG] Blackboard losing UnityEngine.Object references

Forums 💬 NodeCanvas ⚙️ Support [BUG] Blackboard losing UnityEngine.Object references Reply To: [BUG] Blackboard losing UnityEngine.Object references

#15964
sam
Participant

    Did a quick research and it seems to be related to the way Unity handles ISerializationCallbackReceiver.OnAfterDeserialize (which is used in both Blackboard.cs and Graph.cs):

    https://forum.unity.com/threads/proper-use-of-onafterdeserialize.499076/#post-3245891

    Unity deserializes all UnityEngine.Object’s in a different thread, which would explain why those references are not ready yet during the blackboard/graph deserialization methods.