[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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16142
    das
    Participant

      after numerous restarting of unity

      i was making a better utility node, broke it good and after fixing it nodecanvas no longer works.

      i would expect that the re-validate graph button would fix that, nope

      I’m starting to love nodecanvas but this is a bit too unforgiving and scary, imagine down the line mid production

      #16145
      Gavalakis
      Keymaster

        Hello,
        When a graph fails to deserialize, the previously serialized graph is saved, so the chances of completely losing a graph are very very minimal (never occurred or reported since after this failsafe “feature” has been implemented) and there should always be a way to restore it.

        Do you get any errors at all in the console when you hit “Re-Validate”?
        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?

        Please let me know and I will do my best to walk you through how to resolve this. If you want you can also contact me directly (support_AT_paradoxnotion.com) in regards to this issue.

        Thank you.

        #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)

           

          #16143
          Gavalakis
          Keymaster

            Hello again and sorry for the late reply!

            Is it at all possible for you to please send me your graph (either an exported unitypackage, or asset file), or even the project if that is not a problem for you, so that I can take a closer look at it and fix this issue you are having for you?

            Thank you in advance and I am really sorry that this has occurred.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.