Errors after Build

Forums 💬 NodeCanvas ⚙️ Support Errors after Build

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #18339
    chocolacode
    Participant

      Hey Gavalakis,

      I am getting errors after Build.

      NullReferenceException: Object not set to an instance of an object

      Flowcanvas.BinderConnection.UnBind () (at /User…BinderConnection.cs:171)
      Flowcanvas.BinderConnection.OnDestroy () (at /User…BinderConnection.cs:201)
      NodeCanvas.Framework.Graph.RemoveConnection(NodeCanvas.Framework.Connection connection, Boolean recordUndo) (at /Users…Graph.cs:965)
      Flowcanvas.BinderConnection.GatherAndValidateSourcePort() (at /Users…BinderConnection.cs:74)
      etc…

      In Editor play mode I have no errors at all, but after Build and playing the App in MacOS I am having this error

      Any tips were to look for the error?

      Thanks in advance!

      #18345
      Gavalakis
      Keymaster

        Hey,

        Thats very weird.
        Are you using the latest version of FlowCanvas?
        Does this happen in Windows Standalone as well, or any other platform you are able to build to?
        Finally, can you send me the project to see what can potentially be going on?

        Thanks!

        #18344
        chocolacode
        Participant

          Hi,

          I was able to reproduce the error , here is the unity Package

          I appreciate your help!!

          #18343
          Gavalakis
          Keymaster

            Hey,

            Thanks for the package and sorry for the late reply.
            It seems to work fine here. Do I need to do something so that the error occurs?

            Thanks!

            #18342
            chocolacode
            Participant

              Hey,

              Did you build and run?

              The errors don’t appear in the editor
              Only after build and play

              Thanks in advance

              #18341
              Gavalakis
              Keymaster

                Hey,

                Oh, I didn’t…
                But now I did and indeed saw the problem.
                The issue is the Debug Event in the “Mgr Score” flowscript. Please disconnect it before building and the null reference will no more appear.
                I will of course fix this properly in the next version.

                Thanks for spotting this out 🙂

                #18340
                chocolacode
                Participant

                  Thank you!!!

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