I'm making a 2.5D brawler game and I'm using root motion and assets from the unity asset store. I've been having a hard time using the custom state machine that came with the animations, but I was making progress when I came across something so bizarre I'm not even sure if it's a bug. The animator on the main character behaves differently when the animation controller is open in the editor.
Below is a video demonstrating this bug(?) as well as a screenshot of the few lines of code attached to the main character. The bug is consistent and happens every time I run the project. Building and running the project will cause it to behave the same as when the animation controller window is closed. I also tested to see if the animation was switching states so fast it is freezing, but it maintains a consistent rate of maybe two switches a second until I switch to the animation controller window.
**To be clear, I'm not seeking general help with the state machine, I'm simply seeking an explanation as to why the animator behaves differently when the animation controller is observed**
Video of bug: https://youtu.be/wPLP6qejj1w
![alt text][1]
[1]: /storage/temp/167428-unitycodescreenshot.png
↧