ConstructorHelpers in UE5.1.1 make the project unable to run packaged (black screen)

Aherys
Tue, 07 Feb 2023 23:48:20 +0000
Getting Started & Setup

Hello,

I just migrated to UE5.1.1, and my project can’t run (packaged only).
It’s start by a black screen, and if i open the logs, this message is spam :

‘Class /Script/ETL.BL_GameState’ with 2 nodes could not be processed from this stack.

With investigation, i found it’s cause of constructor helpers, if i remove them from this class for example :

static ConstructorHelpers::FClassFinder<ULobbyWidget> WidgetFinder(TEXT("/Game/Core/UI/Game/Lobby/WBP_Lobby"));

LobbyWidgetClass = WidgetFinder.Class;

Any idea ? Except “don’t use constructor helpers”

3 posts - 2 participants