# Statetree compiler crash 

**URL:** <https://forums.unrealengine.com/t/statetree-compiler-crash/2642559>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [June 26, 2025, 4:17pm UTC](https://forums.unrealengine.com/t/statetree-compiler-crash/2642559 "2025-06-26T16:17:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 26, 2025, 4:17pm UTC](https://forums.unrealengine.com/t/statetree-compiler-crash/2642559/1 "2025-06-26T16:17:01Z")

</div>

This issue is happening randomly in the editor, but also on our CI when cooking, which makes the problem very annoying.

There is a [public thread](https://forums.unrealengine.com/t/ue-5-5-2-0-crash-in-fstatetreecompiler-createbindingsfornodes-due-to-garbage-memory-access/2432732/2) about it with a workaround solution, but as explained by a teamate of mine in the second message, it leads to another issue.

I uploaded some additional file (logs, dump) that may help.

Any insights or workarounds would be appreciated.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 26, 2025, 4:17pm UTC](https://forums.unrealengine.com/t/statetree-compiler-crash/2642559/2 "2025-06-26T16:17:05Z")

</div>

**Steps to Reproduce**

The “creating and packaging a repro project for UDN” leads to an error: “Oops! This is an invalid page. Please navigate back to your previous page, or use the site header to find what you’re looking for.”

I did my best to provide a light project to reproduce the issue without the guide, I hope it will be enough. The steps to reproduce the crash are easy:

- Open the project in the editor
- Open ST\_Main
- Spam the compile button until the crash happens

It seems that adding linked statetrees with bound properties increases the reproduction rate but this is the simplest setup that does it.

---

<div class="post-metadata">

**Author:** ![James.Keeling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@James.Keeling](https://forums.unrealengine.com/u/James.Keeling)\
**Post date:** [June 27, 2025, 9:05pm UTC](https://forums.unrealengine.com/t/statetree-compiler-crash/2642559/3 "2025-06-27T21:05:20Z")

</div>

Would you be able to send us a callstack that has the included symbols for the engine? From our backend, I believe you are using a launcher build. To add the required symbols, you can open the options for your engine version and check the box for **Editor symbols for Debugging**. It will download and install the symbols so we can see the full callstack that led up to the failed assertion.

We have been working on some issues that were found with StateTree compiler in the editor. There might be a couple fixes I can attempt to find, but I do not know if you build from source or have the desire to cherrypick the fixes into your project to test them.

-James

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 30, 2025, 7:57am UTC](https://forums.unrealengine.com/t/statetree-compiler-crash/2642559/4 "2025-06-30T07:57:56Z")

</div>

Hi James,

We do build from sources, but it was easier for me to make a minimal reproduction project from a version installed from the launcher. Here’s the callstack with the symbols:

`LoginId:10b5cb13452e09263ef9289ec7cbd8bd  
EpicAccountId:759e25e1b6c5430eac5554616c060f02

Assertion failed: EditorNode.Instance.GetScriptStruct() == Instance.GetScriptStruct() [File:D:\build++UE5\Sync\Engine\Plugins\Runtime\StateTree\Source\StateTreeEditorModule\Private\StateTreeCompiler.cpp] [Line: 1241]

UnrealEditor\_StateTreeEditorModule!FStateTreeCompiler::CreateBindingsForNodes() [D:\build++UE5\Sync\Engine\Plugins\Runtime\StateTree\Source\StateTreeEditorModule\Private\StateTreeCompiler.cpp:1241]  
UnrealEditor\_StateTreeEditorModule!FStateTreeCompiler::CreateStateTransitions() [D:\build++UE5\Sync\Engine\Plugins\Runtime\StateTree\Source\StateTreeEditorModule\Private\StateTreeCompiler.cpp:858]  
UnrealEditor\_StateTreeEditorModule!FStateTreeCompiler::Compile() [D:\build++UE5\Sync\Engine\Plugins\Runtime\StateTree\Source\StateTreeEditorModule\Private\StateTreeCompiler.cpp:312]  
UnrealEditor\_StateTreeEditorModule!UStateTreeEditingSubsystem::CompileStateTree() [D:\build++UE5\Sync\Engine\Plugins\Runtime\StateTree\Source\StateTreeEditorModule\Private\StateTreeEditingSubsystem.cpp:34]  
UnrealEditor\_StateTreeEditorModule!UStateTreeEditorMode::Compile() [D:\build++UE5\Sync\Engine\Plugins\Runtime\StateTree\Source\StateTreeEditorModule\Private\StateTreeEditorMode.cpp:394]  
UnrealEditor\_StateTreeEditorModule!V::TBaseUObjectMethodDelegateInstance::ExecuteIfSafe() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:667]  
UnrealEditor\_Slate!FUIAction::Execute() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Public\Framework\Commands\UIAction.h:139]  
UnrealEditor\_Slate!FUICommandList::ExecuteAction() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Commands\UICommandList.cpp:117]  
UnrealEditor\_Slate!SToolBarButtonBlock::OnClicked() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\MultiBox\SToolBarButtonBlock.cpp:496]  
UnrealEditor\_Slate!TBaseSPMethodDelegateInstance\<0,SToolBarButtonBlock,1,FReply \_\_cdecl(void),FDefaultDelegateUserPolicy\>::Execute() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:282]  
UnrealEditor\_Slate!SButton::ExecuteOnClick() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:467]  
UnrealEditor\_Slate!SButton::OnMouseButtonUp() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:392]  
UnrealEditor\_Slate!`FSlateApplication::RoutePointerUpEvent'::`8’::\<lambda\_2\>::operator()() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5346]  
UnrealEditor\_Slate!FEventRouter::Route\<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,`FSlateApplication::RoutePointerUpEvent'::`8’::\<lambda\_2\> \>() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:456]  
UnrealEditor\_Slate!FSlateApplication::RoutePointerUpEvent() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5332]  
UnrealEditor\_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5917]  
UnrealEditor\_Slate!FSlateApplication::OnMouseUp() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5873]  
UnrealEditor\_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [D:\build++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2271]  
UnrealEditor\_ApplicationCore!FWindowsApplication::DeferMessage() [D:\build++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2783]  
UnrealEditor\_ApplicationCore!FWindowsApplication::ProcessMessage() [D:\build++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1944]  
UnrealEditor\_ApplicationCore!FWindowsApplication::AppWndProc() [D:\build++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:945]  
user32  
user32  
UnrealEditor\_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [D:\build++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:145]  
UnrealEditor!FEngineLoop::Tick() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5806]  
UnrealEditor!GuardedMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]  
UnrealEditor!GuardedMainWrapper() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:123]  
UnrealEditor!LaunchWindowsStartup() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:277]  
UnrealEditor!WinMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:317]  
UnrealEditor!\_\_scrt\_common\_main\_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe\_common.inl:288]  
kernel32  
ntdll`

I don’t know how cherry picking would work, we have the engine sources on a local repository and use UGS from there, so I cannot directly pick changes from your repo and apply them on my own local version. I think I would have to bring the changes manually somehow.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [July 16, 2025, 10:03am UTC](https://forums.unrealengine.com/t/statetree-compiler-crash/2642559/5 "2025-07-16T10:03:15Z")

</div>

I have tested the minimal reproduction project on 5.6 and was not able to reproduce the crash.

As soon as we move our project to 5.6 we’ll be able to test more. I’ll keep you updated.

---

<div class="post-metadata">

**Author:** ![James.Keeling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@James.Keeling](https://forums.unrealengine.com/u/James.Keeling)\
**Post date:** [July 16, 2025, 2:03pm UTC](https://forums.unrealengine.com/t/statetree-compiler-crash/2642559/6 "2025-07-16T14:03:40Z")

</div>

I believe we had a change for this particular problem added for 5.6. The GitHub commit is found here: [https://github.com/EpicGames/UnrealEngine/commit/3d4499812dbfceec93a7c9eee183a63530dad4a4](https://github.com/EpicGames/UnrealEngine/commit/3d4499812dbfceec93a7c9eee183a63530dad4a4). It did not make it into a 5.5 hotfix as there is a header change involved. If you can move to 5.6, that would be ideal, but if your project needs to stay on 5.5 for any reason, you can add those changes without having merge conflicts for the file in future releases.
