NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
Posted: 2025/05/24 22:44
Hello,
Logic Toolkit: 1.9.0
Unity: 6000.1.2f1
Once in a while this error keeps showing up in the Unity editor while I am testing the logic toolkit logic.
The only way to stop it is to restart Unity editor, closing the logic editor or opening a different scene doesn't fix it.
Any idea why and how it can be fixed?
Logic Toolkit: 1.9.0
Unity: 6000.1.2f1
Once in a while this error keeps showing up in the Unity editor while I am testing the logic toolkit logic.
The only way to stop it is to restart Unity editor, closing the logic editor or opening a different scene doesn't fix it.
Any idea why and how it can be fixed?
Code: Select all
NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
UnityEditor.SerializedProperty.Verify (UnityEditor.SerializedProperty+VerifyFlags verifyFlags) (at <316d3d2a3f8c4b19b769e5bc4918c7d7>:0)
UnityEditor.SerializedProperty.get_longValue () (at <316d3d2a3f8c4b19b769e5bc4918c7d7>:0)
LogicToolkit.Editors.ManagedReferenceDataPropertyBase`1[T].get_Id () (at ./Packages/com.caitsithware.logictoolkit/Editor/Serialization/ManagedReferenceDataProperty.cs:23)
LogicToolkit.Editors.NodeElement.SetActive (System.Boolean isActive) (at ./Packages/com.caitsithware.logictoolkit/Editor/Graph/UIElements/NodeElement.cs:852)
LogicToolkit.Editors.ComputeNodeBaseEditor.OnComputed () (at ./Packages/com.caitsithware.logictoolkit/Editor/Graph/Dataflow/NodeEditors/ComputeNodeEditor.cs:81)
LogicToolkit.Editors.DelayCallback`1+Callback[T].OnUpdate () (at ./Packages/com.caitsithware.logictoolkit/Editor/Graph/Callbacks/DelayCallback.cs:99)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <316d3d2a3f8c4b19b769e5bc4918c7d7>:0)