# Playing an anim montage is resetting the state machine

**URL:** <https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976>\
**Category:** Character & Animation\
**Tags:** reset, unreal-engine, state-machines, question\
**Created:** [June 25, 2016, 12:28pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976 "2016-06-25T12:28:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [June 25, 2016, 12:28pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/1 "2016-06-25T12:28:07Z")

</div>

Hello, i’m not sure if this is a bug or not, but on one of my AI characters when i play an animmontage it resets the entire state machine and goes to the entry state again, and i want it to keep the state where he was in. Is there anything i can do to prevent that? I think i started having this behavior after 4.10 or 4.11, because i remember it didn’t do this before. Thanks.

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [July 8, 2016, 5:37pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/2 "2016-07-08T17:37:27Z")

</div>

I’ve tried it out in 4.10.4, 4.11.2 and it works fine. So i believe the problem started with 4.12. I can send the project i used to test this. It was created from a fresh third person template.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [July 8, 2016, 6:25pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/3 "2016-07-08T18:25:29Z")

</div>

Hi xlar8or,

I bugged this last month in UE-31604 from [this Answerhub post](https://answers.unrealengine.com/questions/429770/blend-states-resetting-after-playing-a-montage.html). Since then, it has been marked as “By Design”. The change in functionality was done on purpose as we’d like the state machine to be re-evaluated from Entry after a montage is played.

The main reason we don’t want the state machine running in the background during a montage is that the state would become “stale”, so to speak. Over the course of your montage, there are many instances where the expected state will change (i.e. rolling to dodge with a montage and going off a ledge would change the expected resulting state).

The state machine can be created with appropriate transitions to any of these expected states from Entry in the event it is re-initialized. However, the workaround that I posted in the other Answerhub thread can work as well.

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [July 8, 2016, 6:39pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/4 "2016-07-08T18:39:09Z")

</div>

Thank you for the reply and sorry for the duplicate. So if i want to maintain that behaviour i have to do that workaround, there are no plans for an option so we can pick whether we want to re-evaluate the state machine or not?

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [July 8, 2016, 6:53pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/5 "2016-07-08T18:53:46Z")

</div>

I tried the workaround and the root motion of the anim montage just broke. He starts sliding forward a lot, instead of going backwards.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [July 12, 2016, 4:05pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/6 "2016-07-12T16:05:33Z")

</div>

You can use that workaround, or you can set up your state machine differently. Can you explain/show how you’re state machine is set up?

---

<div class="post-metadata">

**Author:** ![laggyluk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Post date:** [August 29, 2019, 1:01pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/7 "2019-08-29T13:01:07Z")

</div>

This is one of Unreal ‘gotchas’ that can take hours to figure out…

---

<div class="post-metadata">

**Author:** ![NormalNomad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NormalNomad](https://forums.unrealengine.com/u/NormalNomad)\
**Post date:** [November 17, 2020, 1:30pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/8 "2020-11-17T13:30:52Z")

</div>

lol - so true. ZING!

---

<div class="post-metadata">

**Author:** ![FlyingPenguin10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flyingpenguin10/32/88706_2.png) [@FlyingPenguin10](https://forums.unrealengine.com/u/FlyingPenguin10)\
**Post date:** [October 1, 2021, 10:33pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/9 "2021-10-01T22:33:39Z")

</div>

I had this same problem. This is what worked for me: uncheck the Enable Auto Blendout box for each individual montage animation in asset details panel. This YT tutorial is what helped me discover what the problem was : [Animating The Enemy Deaths | Shooter Minigame Part 6 - Unreal Engine Tutorial - YouTube](https://www.youtube.com/watch?v=egIeAQ6hXHU&ab_channel=MattAspland)

![349729-animation-montage-fix.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/8/a783424dabf974100d6a1b9993ee9dad4e33a7e6.png)

---

<div class="post-metadata">

**Author:** ![imtrobin2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@imtrobin2](https://forums.unrealengine.com/u/imtrobin2)\
**Post date:** [January 9, 2024, 12:56pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/10 "2024-01-09T12:56:24Z")

</div>

I’m facing the same issue, turning off autoblend is not a solution. What are the other workarounds?

---

<div class="post-metadata">

**Author:** ![Zwen0071](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zwen0071/32/1148259_2.png) [@Zwen0071](https://forums.unrealengine.com/u/Zwen0071)\
**Post date:** [May 5, 2024, 2:55pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/11 "2024-05-05T14:55:34Z")

</div>

for me worked clicking on the default slot node in the Animation Blueprint and Checking “Always Update Source”

---

<div class="post-metadata">

**Author:** ![Marmelo.art](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marmelo.art](https://forums.unrealengine.com/u/Marmelo.art)\
**Post date:** [June 21, 2025, 1:24pm UTC](https://forums.unrealengine.com/t/playing-an-anim-montage-is-resetting-the-state-machine/361976/13 "2025-06-21T13:24:16Z")

</div>

\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<  
This is the real solution, thank you
