Reply To: [BUG] when deserialization breaks there is no fixing, the project is locked

Forums 💬 NodeCanvas ⚙️ Support [BUG] when deserialization breaks there is no fixing, the project is locked Reply To: [BUG] when deserialization breaks there is no fixing, the project is locked

#16144
das
Participant

    [quote quote=15266]Do you get any errors at all in the console when the assembly is re-loaded (eg you changed a script) or when opening up the Unity project?[/quote]
    not when i open the unity project

    [quote quote=15266]Do you get any errors at all in the console when you hit “Re-Validate”?[/quote]

    NullReferenceException: Object reference not set to an instance of an object

    NodeCanvas.Framework.Internal.GraphSource.Unpack (NodeCanvas.Framework.Graph graph) (at Assets/ParadoxNotion/CanvasCore/Framework/Runtime/Graphs/Internal/GraphSource.cs:120)

    NodeCanvas.Framework.Graph.Deserialize (System.String serializedGraph, System.Collections.Generic.List1[T] references, System.Boolean validate) (at Assets/ParadoxNotion/CanvasCore/Framework/Runtime/Graphs/Graph.cs:157)

    UnityEngine.Logger:LogException(Exception)

    ParadoxNotion.Services.Logger:ForwardToUnity(LogType, Object, String, Object) (at Assets/ParadoxNotion/CanvasCore/Common/Runtime/Services/Logger.cs:114)

    ParadoxNotion.Services.Logger:Internal_Log(LogType, Object, String, Object) (at Assets/ParadoxNotion/CanvasCore/Common/Runtime/Services/Logger.cs:108)

    ParadoxNotion.Services.Logger:LogException(Exception, String, Object) (at Assets/ParadoxNotion/CanvasCore/Common/Runtime/Services/Logger.cs:66)

    NodeCanvas.Framework.Graph:Deserialize(String, List1, Boolean) (at Assets/ParadoxNotion/CanvasCore/Framework/Runtime/Graphs/Graph.cs:166)

    NodeCanvas.Framework.GraphOwner:Validate() (at Assets/ParadoxNotion/CanvasCore/Framework/Runtime/Graphs/GraphOwner.cs:465)

    NodeCanvas.Framework.GraphOwner:OnValidate() (at Assets/ParadoxNotion/CanvasCore/Framework/Runtime/Graphs/GraphOwner.cs:450)