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.
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?
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.
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.
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..
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)?