Missing references in tree after reimport

Forums 💬 NodeCanvas ⚙️ Support Missing references in tree after reimport

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #15282
    gotenxds
    Participant

      Hya, I’m not sure if it is a reimport that causes this but it’s the only thing I can think of, every once in a while my tree loses all references to variables, I don’t see any changes in the VCS I can revert or anything, it is insanely frustrating as I need to go around and rebind it all.

      #15289
      Gavalakis
      Keymaster

        Hello. Can you please provide a bit more information so that I try and replicate this? :
        1) What version or NodeCanvas and Unity are you using?
        2) Is the graph that this is happening a bound or an asset graph?
        3) Are there any specific moments you have noticed after which this issue occurs?

        Please let me know.
        Thank you.

        #15288
        gotenxds
        Participant

          Hi Gavalakis, thanks for the response,
          1. 3.2.9
          2. It is an asset graph
          3. As far as I’ve seen it happens sometimes when I do a reimport all or when I import a new asset from unity store, but not always.

          In addition, This is just a guess but I think it is related to name conflict, it happened to me for an enum I called “AnimationState”, I think it might have conflicted with other “AnimationState” Enums, (the default unity one, Animancer asset has one, BetterUI asset has one)
          As I imported BetterUI I think the new enum they have caused node canvas to lose a reference or something, I changed the enum name for now to something more specific to my project MBAnimationState to hopefully fix this for good, but if I do ever need to use something that has a duplicate, let’s say from another package, this would still be an issue as I will be unable to change the name.

          #15287
          gotenxds
          Participant

            It happened again but not just for a blackboard variable, this time it happened on a simple script recompile, something you do a hundred times a day.
            It is getting increasingly frustrating having to rebind everything every few days.

            As you can see from the image the variable for the animationController just stopped working, forgot what it is and its binding.

            #15286
            gotenxds
            Participant

              Here is a video of me fixing the issue, as you can see the variable is just stuck, I need to “change” it back to its original type, and then rebind the variable..

              #15285
              Gavalakis
              Keymaster

                Hello and sorry for the late reply!

                Hmm. This is really weird and haven’t been reported or encountered this issue before. Can you please clarify:
                is the ‘Animation.Actors.CorvusAnimationController’ type (as well as other types you have this issue with) in a different assembly than Unity’s default (e.g. under a custom assembly definition file)?

                Please let me know. Thank you.

                #15284
                gotenxds
                Participant

                  Hya, yes it is in the project own assembly

                  #15283
                  gotenxds
                  Participant

                    It has been a while so I dont have the “corrupted” json file anymore, if it happens again I’l make sure to do so and update here

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