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

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”

I’m having the same issue. Did you figure out how to fix it?

There is no possibility to fix it.

Constructor are simply not designed to be used on package. Only for editor.
So short answer is don’t use constructor, and do your reference with bp.

2 Likes