Hi,
Problem Summary:
I wrote a StateMachineBehaviour but the inspector does not refresh the value of the public variables, it just sticks to the default values.
It’s not a code problem, because I used Debug.Log to check whether my vars were changing or not, and they were.
The script is functional but debugging is making me crazy. I would really appreciate any help.
Context:
I’m trying to use Mecanim to build a Finite State Machine for NPC AI, but progress is severely hindered because of debugging limitations.
I already tried:
- Saving the scene, the project, and restarting.
- Making a different StateMachineBehaviour script as a test, and it didn’t work either, so I suppose is an Editor issue and it has nothing to do with my script.
- Doing the same in a different scene.
I’m using Unity 5.5, although I had the same issue with 5.4.3.
Thanks for your help.