Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Animation controller fails to leave default state.

Discussion in 'Animation' started by PengoPlays, Nov 22, 2022.

  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