Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question Animation controller fails to leave default state.

Discussion in 'Animation' started by PengoPlays, Nov 22, 2022 at 1:43 AM.

  1. PengoPlays


    Feb 17, 2022
    I am using Unity 2019.4.31f1. I'm trying to make a simple animation controller where based on an integer that I can change in-game, the animation will swap to and loop a given animation until the integer no longer remains true, then it will exit and recheck the integer. Problem is it fails to transition at all. It never leaves default state regardless of what default state is or what int conditions are met. I have another animation controller that is set up similarly and that one doesn't hang on default state. What should I be looking at to solve this? upload_2022-11-21_20-38-39.png