Problems running compileAllBlueprints commandlet

Not sure if I am posting this in the right place, but I’ve been trying to set up compiling all of our Blueprints from CLI for validation purposes but I keep hitting this ensure:

[2024.08.02-14.47.18:443][  0]LogCompileAllBlueprintsCommandlet: Display: Loading and Compiling: '<Blueprint1>'...
[2024.08.02-14.47.18:470][  0]LogOutputDevice: Warning:

Script Stack (0 frames) :

[2024.08.02-14.47.19:126][  0]LogOutputDevice: Error: === Handled ensure: ===
[2024.08.02-14.47.19:126][  0]LogOutputDevice: Error:
[2024.08.02-14.47.19:126][  0]LogOutputDevice: Error: Ensure condition failed: false  [File:S:\sn2-main\UE\Engine\Source\Editor\Kismet\Private\BlueprintCompilationManager.cpp] [Line: 256]
[2024.08.02-14.47.19:127][  0]LogOutputDevice: Error: Attempting to enqueue <Blueprint2> for compile while compiling:
[2024.08.02-14.47.19:127][  0]LogOutputDevice: Error: Stack:
[2024.08.02-14.47.19:127][  0]LogOutputDevice: Error: [Callstack] 0x00007fff35854e93 Subnautica2Editor-Kismet.dll!FBlueprintCompilationManagerImpl::QueueForCompilation() [S:\sn2-main\UE\Engine\Source\Editor\Kismet\Private\BlueprintCompilationManager.cpp:256]

Which is then followed by the binary crashing out with:

[2024.08.02-14.47.21:604][  0]LogWindows: Error: appError called: Assertion failed: CurrentApplication.IsValid() [File:S:\sn2-main\UE\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h] [Line: 256]


[2024.08.02-14.47.23:149][  0]LogWindows: Error: === Critical error: ===
[2024.08.02-14.47.23:149][  0]LogWindows: Error:
[2024.08.02-14.47.23:150][  0]LogWindows: Error: Assertion failed: CurrentApplication.IsValid() [File:S:\sn2-main\UE\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h] [Line: 256]

I’m using the CMD editor binary and these are the args I’m passing after our uproject:

-run=compileAllBluePrints -nullrhi

Anyone run into anything like this?

Continued digging at this, and it seems the culprit was actually the UMGEditorToolbars plugin. Disabling it unblocked me, but I’m not sure why it would have prevented me from running headless?

Okay, looks like this is all an issue on our end. The version of the UMGEditorToolbars plugin we have has a bug that prevents it from working with commandlets. Marking as solution.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.