# Unreal Windows packaging error: Assertion failed CurrentApplication.IsValid()

**URL:** <https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [April 21, 2024, 1:59pm UTC](https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972 "2024-04-21T13:59:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robi3Robotics](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Robi3Robotics](https://forums.unrealengine.com/u/Robi3Robotics)\
**Post date:** [April 21, 2024, 1:59pm UTC](https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972/1 "2024-04-21T13:59:31Z")

</div>

Desperate help needed as exe is due end of week and I can’t compile. The colleague in-charge left my the source code and disappear, I am able to run it on the editor, but not able to compile with the following error. Please advice thanks!

UATHelper: Packaging (Windows): LogWindows: Error: appError called: Assertion failed: CurrentApplication.IsValid() [File:D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h] [Line: 255]  
UATHelper: Packaging (Windows): LogWindows: Error: begin: stack for UAT  
UATHelper: Packaging (Windows): LogWindows: Error: === Critical error: ===  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error: Assertion failed: CurrentApplication.IsValid() [File:D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h] [Line: 255]  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff878dbf356 UnrealEditor-Slate.dll!UnknownFunction  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff878dcc752 UnrealEditor-Slate.dll!UnknownFunction  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff878da7223 UnrealEditor-Slate.dll!UnknownFunction  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x000002cb82bee58b UnrealEditor-Text3D.dll!UnknownFunction  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x000002cb82bce556 UnrealEditor-Text3D.dll!UnknownFunction  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x000002cb82bcfa44 UnrealEditor-Text3D.dll!UnknownFunction  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff87e317828 UnrealEditor-Core.dll!UnknownFunction

---

<div class="post-metadata">

**Author:** ![JudithWonka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JudithWonka](https://forums.unrealengine.com/u/JudithWonka)\
**Post date:** [April 22, 2024, 2:58pm UTC](https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972/2 "2024-04-22T14:58:35Z")

</div>

Its me (with my personal account). I haven’t find out the solution and reason for the problem yet, Tired half of this but doesn’t work yet: [The problem of the form "Error: [Callstack] \*your hexadecimal number\* UnrealEditor-CoreUObject.dll!UnknownFunction []"](https://forums.unrealengine.com/t/the-problem-of-the-form-error-callstack-your-hexadecimal-number-unrealeditor-coreuobject-dll-unknownfunction/835013)  
KIV.

---

<div class="post-metadata">

**Author:** ![JudithWonka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JudithWonka](https://forums.unrealengine.com/u/JudithWonka)\
**Post date:** [April 23, 2024, 8:07am UTC](https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972/3 "2024-04-23T08:07:23Z")

</div>

Just an update. Upon tracing I see the major course of it is "LogModuleManager: Display: Unable to bootstrap from archive " , which would be easier to google…

---

<div class="post-metadata">

**Author:** ![rkohout](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rkohout](https://forums.unrealengine.com/u/rkohout)\
**Post date:** [October 27, 2024, 1:21pm UTC](https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972/4 "2024-10-27T13:21:50Z")

</div>

I am having the same issue on a new machine with a blank project. Have you found a solution?

---

<div class="post-metadata">

**Author:** ![Houloude9](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/houloude9/32/1011886_2.png) [@Houloude9](https://forums.unrealengine.com/u/Houloude9)\
**Post date:** [October 30, 2024, 3:21pm UTC](https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972/5 "2024-10-30T15:21:33Z")

</div>

maybe trying to install the prefered vscode version?  
(for me ue5.4.4): UATHelper: Packaging (Windows): Visual Studio 2022 compiler version 14.41.34123 is not a preferred version. Please use the latest preferred version 14.38.33130

---

<div class="post-metadata">

**Author:** ![koolevre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@koolevre](https://forums.unrealengine.com/u/koolevre)\
**Post date:** [November 9, 2024, 2:23pm UTC](https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972/6 "2024-11-09T14:23:41Z")

</div>

For those who have the same errors years after, I finnaly found that if you desactivate the Fab Plugin (that is automatically activated) it works.

I had the same error, trying to package a blank project to which I did no modifications.

---

<div class="post-metadata">

**Author:** ![Sceanti](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sceanti](https://forums.unrealengine.com/u/Sceanti)\
**Post date:** [December 12, 2024, 2:26pm UTC](https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972/7 "2024-12-12T14:26:01Z")

</div>

Thank you. Saved me!

---

<div class="post-metadata">

**Author:** ![Gretsok](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gretsok](https://forums.unrealengine.com/u/Gretsok)\
**Post date:** [February 1, 2025, 8:48pm UTC](https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972/8 "2025-02-01T20:48:38Z")

</div>

This was it for me, thank you !

---

<div class="post-metadata">

**Author:** ![rymdskeppet](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rymdskeppet/32/88715_2.png) [@rymdskeppet](https://forums.unrealengine.com/u/rymdskeppet)\
**Post date:** [May 24, 2025, 3:45pm UTC](https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972/9 "2025-05-24T15:45:57Z")

</div>

In my case, the issue arose in the `Construct` function of a Slate widget I had created. It probably failed because the cooking process is headless and it tries to create the widget when there isn’t a UI app available. Anyways, adding this early return in the `Construct` function solved it for me:

```cpp
if (IsRunningCookCommandlet()) {
        return;
}

```

---

<div class="post-metadata">

**Author:** ![ATblackwhite](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ATblackwhite](https://forums.unrealengine.com/u/ATblackwhite)\
**Post date:** [September 11, 2025, 1:15pm UTC](https://forums.unrealengine.com/t/unreal-windows-packaging-error-assertion-failed-currentapplication-isvalid/1813972/10 "2025-09-11T13:15:30Z")

</div>

The Slate has not been initialized before access it. You should use `FSlateApplication::IsInitialized()`to judge whether it’s initialized and run your own code
