# Confusing state transition behavior show in Rewind Debugger on event trigger.

**URL:** <https://forums.unrealengine.com/t/confusing-state-transition-behavior-show-in-rewind-debugger-on-event-trigger/2706227>\
**Category:** AI\
**Tags:** unreal-engine, question\
**Created:** [March 15, 2026, 3:39am UTC](https://forums.unrealengine.com/t/confusing-state-transition-behavior-show-in-rewind-debugger-on-event-trigger/2706227 "2026-03-15T03:39:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PushStartInteractive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pushstartinteractive/32/1098795_2.png) [@PushStartInteractive](https://forums.unrealengine.com/u/PushStartInteractive)\
**Post date:** [March 15, 2026, 3:39am UTC](https://forums.unrealengine.com/t/confusing-state-transition-behavior-show-in-rewind-debugger-on-event-trigger/2706227/1 "2026-03-15T03:39:21Z")

</div>

I am running into a certain state tree behavior and I don’t know if it’s intentional. Let’s say I have a basic state tree like this:

[Root]  
→ [Combat]  
–→ [Move To Target]  
–→ [Attack Target]  
→ [Roaming]  
–→ [Move To New Location]  
–→ [Idle]

**[Roaming]** has **On Event** transition to **[Combat]**, which is triggered by an _Combat.Entered_ event.  
**[Move To New Location]** has **On State Completed** transition to **[Idle]**.  
**[Idle]** has **On State Completed** transition to **[Move To New Location]**.

When _Combat.Entered_ event is triggered and we’re in **[Move To New Location]** state, I expect to transition directly to **[Combat**]. However, what happens, the Rewind Debugger, is that **[Move To New Location]** transitions to **[Idle]** and then immediately that transitions to **[Combat]**. So, **[Move To New Location]**’s completion in this scenario triggers its **On State Completed** transition, but then the **On Event** transition finally transitions to **[Combat].**

So, is is this an expected behavior? I just happened to notice that this is happening in the Rewind Debugger. And what’s more weird is that it’s not even showing me many details in the debugger, besides “Send Event ”:

 ![debugger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/e/9/2e99c457442f68132b7bfc3d98c3357af9370d46.jpeg)

And then immediately after that:

 ![deubber_2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/7/d470e07bb3bb50bf15d1ae5f75e1e45a75441d84.jpeg)

I set a state entry breakpoint in **[Idle]** state, but it’s not triggered when combat event occurs. Additionally, if I disable the **On State Completed** transition from **[Move To New Location]** to **[Idle]**, I don’t see this behavior (obviously).

So, the debugger shows that we’re in **[Idle]** momentarily, but doesn’t provide any details, besides that the event was called, and entry breakpoint is not triggered.

---

<div class="post-metadata">

**Author:** ![TheDogtoy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheDogtoy](https://forums.unrealengine.com/u/TheDogtoy)\
**Post date:** [March 18, 2026, 5:16pm UTC](https://forums.unrealengine.com/t/confusing-state-transition-behavior-show-in-rewind-debugger-on-event-trigger/2706227/2 "2026-03-18T17:16:07Z")

</div>

I’m not sure if its expected, but the order of operations with parents and children is finicky and unintuitive for sure. I’ve seen the same behavior in the old debugger and it makes it very hard to figure out when a parent kills the child. There is absolutely a bug in the debugger where it thinks its in the wrong state sometimes as well (had to comment a line out when you scroll)

BTW how did you get the state trees to actually record in the rewind debugger. We just get “Start a recording to debug” and when you record it doesn’t update.

---

<div class="post-metadata">

**Author:** ![PushStartInteractive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pushstartinteractive/32/1098795_2.png) [@PushStartInteractive](https://forums.unrealengine.com/u/PushStartInteractive)\
**Post date:** [March 18, 2026, 7:05pm UTC](https://forums.unrealengine.com/t/confusing-state-transition-behavior-show-in-rewind-debugger-on-event-trigger/2706227/3 "2026-03-18T19:05:43Z")

</div>

> BTW how did you get the state trees to actually record in the rewind debugger. We just get “Start a recording to debug” and when you record it doesn’t update.

@TheDogtoy I use both “Automatically start recording when PIE is started” option (when I want to immediately start recording) and also just manual recording with “Start recording Animation Insights data” (when I want to record only at a specific time).

 ![record](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/8/3/483162ba8a450482b727271032832e289a74c80d.jpeg)

One very annoying thing that I noticed is that after recording, it won’t show all of the states correctly in the timeline, so I have to scroll through it for it to get populated correctly. It’s a minor inconvenience, but still annoying, especially if it’s a long recording. I think that’s what you’re referring to as well?

---

<div class="post-metadata">

**Author:** ![TheDogtoy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheDogtoy](https://forums.unrealengine.com/u/TheDogtoy)\
**Post date:** [March 18, 2026, 8:39pm UTC](https://forums.unrealengine.com/t/confusing-state-transition-behavior-show-in-rewind-debugger-on-event-trigger/2706227/4 "2026-03-18T20:39:55Z")

</div>

Ah something is broken for us. After clicking record (and with start recording on) it still won’t record. ☹ At least when playing in listen server. It does record when playing as client but that doesn’t help us for AI as our AI isn’t on the client. Herm.

[Unreal Engine Issues and Bug Tracker (UE-208850)](https://issues.unrealengine.com/issue/UE-208850)

---

<div class="post-metadata">

**Author:** ![PushStartInteractive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pushstartinteractive/32/1098795_2.png) [@PushStartInteractive](https://forums.unrealengine.com/u/PushStartInteractive)\
**Post date:** [March 19, 2026, 7:42am UTC](https://forums.unrealengine.com/t/confusing-state-transition-behavior-show-in-rewind-debugger-on-event-trigger/2706227/5 "2026-03-19T07:42:32Z")

</div>

@TheDogtoy Ah, I see. I’m only doing Standalone at the moment.
