Button conditions lost when building application

Forums 💬 NodeCanvas ⚙️ Support Button conditions lost when building application

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #19166
    pathightree
    Participant

      I’m having trouble with button conditions, their assigned button gets overwritten when I make a build of the application.

      I’ve made a simple FSM that controls the flow of my application.
      In this screenshot I added the names of the buttons which I assigned to the conditions.
      https://www.dropbox.com/s/jjpilctvih4fjqc/FSM%20repro.PNG
      After a build some of the conditions have been changed (the “scan left” button is assigned more often than others).
      It is hard to get an exact reproduction scenario, but repeating the build process a couple of times will certainly trigger the bug.
      I believe that to trigger the bug, the FSM owner must be selected (the editor must be active).

      //EDIT
      Project link removed. Do not publicaly post projects that contain comercial assets inside.
      //

      Ciao, Patrick

      #19179
      Gavalakis
      Keymaster

        Hello,

        Please do not publicly post NodeCanvas or any other software. You can email me instead.

        So regarding your issue:
        Do you have this FSM bound to any FSMOwner in a scene?
        If you don’t have the FSM bound to an FSMOwner, references to the button will be lost since the FSM is an asset file and by unity “limitations”, assets can’t reference scene objects.
        So you will need a local, bound graph, or alternatively you can pass the button references through Blackboard variables, if the FSMOwner Blackboard is in the scene and not a prefab.

        Let me know.

        #19178
        pathightree
        Participant

          Sorry for posting NodeCanvas online, my apologies.

          Regarding your question:
          Yes, I have bound the FSM to the scene.
          Please check out the repro project, I have sent you a new link by mail.

          Ciao, Patrick

          #19177
          Gavalakis
          Keymaster

            Hello Patrick,

            It’s alright.
            I have not received any relevant email: info_at_nodecanvas.com
            Can you please recheck for correct address.

            #19176
            mochibits
            Participant

              I’m also seeing the button problem. It looks like they all get assigned to the first button in the tree.

              #19175
              pathightree
              Participant

                I sent the repro project to the address you specified.

                #19174
                Gavalakis
                Keymaster

                  Hello,

                  I downloaded your project. thanks.
                  I opened up the reproduction UI scene with the FSM, but everything seems to work correctly.
                  The button references are kept intanct and actualy the UI FSM works as expected.

                  What Unity version are you using by the way?

                  Thanks

                  #19173
                  pathightree
                  Participant

                    I found that building the project a couple of times reproduces the problem.
                    I’m using 4.6.3f1.

                    #19172
                    mochibits
                    Participant

                      This happens to me still, and I’m not building. Can I send you a sample project? I’m also using 4.6.3f1.

                      Everything works fine normally, but at random, all the Button Clicked connections in the FSM get reset to a different button.

                      I have to NOT save, then exit and reopen Unity to get my scene back. If I accidentally save, I’m stuck resetting all the Button Clicked connections. Very frustrating.

                      #19171
                      Gavalakis
                      Keymaster

                        Hello,

                        Yes. Please do send me a sample project. I still cant get to reproduce this error. Even with Pat’s project.

                        Thanks in advance.

                        #19170
                        mochibits
                        Participant

                          Just emailed you the sample project. Thanks.

                          #19169
                          mochibits
                          Participant

                            Would also like to note that I re-connect all the 10+ buttons about 20 times a day. 🙁

                            #19168
                            mochibits
                            Participant

                              Hi. Did you get a chance to look at that project? Thanks.

                              #19167
                              Gavalakis
                              Keymaster

                                Hello,

                                Yes I did take a look at the project. The problem seems to be relative to iOS building due to the iOS incompatibility right now.
                                I have though already commited a new version to the asset store and should be alive any time soon.

                                Thanks

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