# Crash in FWidgetBlueprintCompilerContext::FinishCompilingClass 

**URL:** <https://forums.unrealengine.com/t/crash-in-fwidgetblueprintcompilercontext-finishcompilingclass/2667853>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [September 23, 2025, 12:04pm UTC](https://forums.unrealengine.com/t/crash-in-fwidgetblueprintcompilercontext-finishcompilingclass/2667853 "2025-09-23T12:04:04Z")\
**Posts on this page:** 2\
**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:** [September 23, 2025, 12:04pm UTC](https://forums.unrealengine.com/t/crash-in-fwidgetblueprintcompilercontext-finishcompilingclass/2667853/1 "2025-09-23T12:04:04Z")

</div>

Hey,

We’re experiencing this crash when running the editor with -server.

GetWidgetTreeArchetype seems to be returning nullptr for an editor utility widget and it’s not clear why.

Can you offer any insights into what this might be and how we can remedy it?

Cheers!

---

<div class="post-metadata">

**Author:** ![ffabian.bl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ffabian.bl](https://forums.unrealengine.com/u/ffabian.bl)\
**Post date:** [September 24, 2025, 3:56am UTC](https://forums.unrealengine.com/t/crash-in-fwidgetblueprintcompilercontext-finishcompilingclass/2667853/2 "2025-09-24T03:56:39Z")

</div>

Hello [mention removed]​,

I wasn’t able to reproduce the crash locally on a fresh UE5.5 project using -server or PIE with a dedicated server.

Looking at the source code, the crash appears to occur in this section:

```auto
UWidgetTree* Tree = NamedSlotClass->GetWidgetTreeArchetype();
TArray<FName> SlotNames;
Tree->GetSlotNames(SlotNames);

```

If Tree is nullptr here then it would explain the access violation. However, in my tests, this method is called when compiling the Editor Utility Widget, and I wasn’t able to get a nullptr from GetWidgetTreeArchetype().

Could you provide a minimal reproducible project where the crash happens or at least more detailed repro steps?

Best,

Francisco
