# State Tree Transition OnEvent Jumps To Root When Different Event Tag Recieved

**URL:** <https://forums.unrealengine.com/t/state-tree-transition-onevent-jumps-to-root-when-different-event-tag-recieved/2852076>\
**Category:** AI\
**Tags:** unreal-engine, question\
**Created:** [November 7, 2026, 6:50pm UTC](https://forums.unrealengine.com/t/state-tree-transition-onevent-jumps-to-root-when-different-event-tag-recieved/2852076 "2026-11-07T18:50:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sononeo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sononeo/32/717542_2.png) [@Sononeo](https://forums.unrealengine.com/u/Sononeo)\
**Post date:** [November 7, 2026, 6:50pm UTC](https://forums.unrealengine.com/t/state-tree-transition-onevent-jumps-to-root-when-different-event-tag-recieved/2852076/1 "2026-11-07T18:50:37Z")

</div>

Sorry if this is something that’s been asked before, or may be a feature or how it’s intended to work.

But I’m trying to make use of events in states in State Trees in order to go to either the next state or jump to a completely different state.

However what I’ve found is that if a state tree instance receives any other event that what is defined, it jumps back to the root and reevaluates. Below shows what I’ve seen in the rewind debugger.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/9/cf9c881b6aa94e2f8acdd85fee4bd2670245a10b.png)

And below is the transition event for the “Wait For Revive” state that it’s in:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/b/31b8e5f1ef7106f36e4ec6b5249341103d4eaa27.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/c/30c1c012fb831671ea788be33bda5af0141e2bbd.png)

As you can see STEvent.Character.Revived is the first event it receives, which to me should be fine from a design point of view to have the option to act on that. The revive exit is sent a little later from the animation BP currently bound to a revive state node on exit.

The thing is that event doesn’t exist in this tree, it’s not used for any transition at all. Also when the event I want is sent it’s too late to do anything with it. As the tree has already jumped back to the root and revaluated the tree and selected the node to follow the party leader.

I can think of some potential workarounds to this but it feels weird to have to do so, as if I don’t send this STEvent.Character.Revived event it works as expected. Which is the character stands up, then proceeds to enter the follow state.

Any info on this would be appreciated, just so I know what the best steps to take next would be.

---

<div class="post-metadata">

**Author:** ![Countsie](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/countsie/32/1194632_2.png) [@Countsie](https://forums.unrealengine.com/u/Countsie)\
**Post date:** [November 8, 2026, 12:03am UTC](https://forums.unrealengine.com/t/state-tree-transition-onevent-jumps-to-root-when-different-event-tag-recieved/2852076/2 "2026-11-08T00:03:45Z")

</div>

Try adding a Delay (forever) task to that wait for revive state.

When building something like this, I tend to put the event based transition on a parent state that contains child states that has tasks to do dialogue call outs, animation, delays, task to modify health/die… Etc.

---

<div class="post-metadata">

**Author:** ![Sononeo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sononeo/32/717542_2.png) [@Sononeo](https://forums.unrealengine.com/u/Sononeo)\
**Post date:** [November 8, 2026, 6:42pm UTC](https://forums.unrealengine.com/t/state-tree-transition-onevent-jumps-to-root-when-different-event-tag-recieved/2852076/3 "2026-11-08T18:42:41Z")

</div>

Ah, thanks, I’ll give that a try.  
Was hoping there wouldn’t be a explicit need to have a task in a state, seeing as it’s possible to enter and remain in a state and have something else switch to another state.

---

<div class="post-metadata">

**Author:** ![Sononeo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sononeo/32/717542_2.png) [@Sononeo](https://forums.unrealengine.com/u/Sononeo)\
**Post date:** [November 8, 2026, 7:24pm UTC](https://forums.unrealengine.com/t/state-tree-transition-onevent-jumps-to-root-when-different-event-tag-recieved/2852076/4 "2026-11-08T19:24:10Z")

</div>

That worked! Thanks a lot, I had put a workaround in in the mean time, however, it still feels a bit strange to have to add a run forever task?

Maybe this is very much intentional, by-design and I guess I just need to keep that in mind, maybe 😟 .

---

<div class="post-metadata">

**Author:** ![Countsie](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/countsie/32/1194632_2.png) [@Countsie](https://forums.unrealengine.com/u/Countsie)\
**Post date:** [November 8, 2026, 10:30pm UTC](https://forums.unrealengine.com/t/state-tree-transition-onevent-jumps-to-root-when-different-event-tag-recieved/2852076/5 "2026-11-08T22:30:17Z")

</div>

I see what you’re saying… It takes some getting used to. UE state trees are a bit quirky but very powerful and easy to troubleshoot once you figure them out.

My state trees generally always have tasks on the final “leaf” states, if only a delay at times.

Glad you got it fixed!

---

<div class="post-metadata">

**Author:** ![Sononeo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sononeo/32/717542_2.png) [@Sononeo](https://forums.unrealengine.com/u/Sononeo)\
**Post date:** [November 9, 2026, 4:01pm UTC](https://forums.unrealengine.com/t/state-tree-transition-onevent-jumps-to-root-when-different-event-tag-recieved/2852076/6 "2026-11-09T16:01:43Z")

</div>

Yeah, could be the reason why I’ve had funky issues in other cases where I’ve relied on state tree events.

So something I need to do a sweep of and do some corrections.

Can’t help but still feel like it’s a bit of a bug rather than a quirk, as I use on tick to check a condition to do a transition and that has no problem 😅

Either way, thanks again 🙇will be mindful of that “quirk”.
