After upgrading from 5.4 to 5.5 or 5.6, we can no longer package our project due to blueprints with custom blueprint components throwing the following error:
LogOutputDevice: Error: begin: stack for UAT
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error:
LogOutputDevice: Error: Ensure condition failed: Registry [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Elements\Framework\EngineElementsLibrary.cpp] [Line: 35]
LogOutputDevice: Error: Typed element was requested for ‘/Engine/Transient.REINST_BPC_POI_C_1’ before the registry was available! This usually means that NewObject was used instead of CreateDefaultSubobject during CDO construction.
LogOutputDevice: Error: Stack:
There’s nothing fancy going on in these components. Simple functions on begin play and custom events that are called in their parent blueprints.
We tried replacing the components with new, functionally identical ones, but the error remained. Renaming or doing a “refresh all nodes” didn’t help either.
The only result on Google about this error is related to Camera Animation Sequences and the proposed solutions don’t apply to our issue.
Anyone any idea what’s going on there? Should we no longer use blueprint components at all?