Hi,
My game stops packaging if I make ANY change (it can be even as small as adding an empty comment) to one of my blueprints. It’s extremely problematic, since it will be very hard to pinpoint when the breaking change happened since if I don’t touch the file the game packages fine.
The InspectDescriptionComponent is a custom BP component which I use in some blueprints, for example in problematic blueprint’s parent. But changing the parent does not break packaging!
I investigated the general reason for this sort of error, but it does not make sense since I don’t do anything with this component in any construction scripts. It’s just a component that shows little snippet of text on hover… And it works just fine since forever. I think the search in all blueprints function is unreliable as well. Is it possible to pinpoint in which exact place this code fails?
It’s extremely weird for two reasons:
- It won’t start failing unless I touch one BP
- Even if I clear the BP of any logic, including Event Graph and Construction Script and remove the component from components tab the project still does not begin to package successfully!
Any help would be greatly appreciated, thank you! UE 5.6.1, but I did a test update to 5.7.3 and the same thing happens.
PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Handled ensure: ===
PackagingResults: Error: Ensure condition failed: Registry [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Elements\Framework\EngineElementsLibrary.cpp] [Line: 35]
PackagingResults: Error: Typed element was requested for '/Engine/Transient.InspectDescriptionComponent_GEN_VARIABLE' before the registry was available! This usually means that NewObject was used instead of CreateDefaultSubobject during CDO construction.
PackagingResults: Error: Stack:
PackagingResults: Error: [Callstack] 0x00007ffbe8fc211e UnrealEditor-Engine.dll!UnknownFunction []
EDIT: When I removed the component, variable and related logic from two main BPs that use this component and then cleared DerivedDataCache, Build, Intermediate, Binaries and Saved and the tried to package it actually changed to:
Typed element was requested for ‘/Engine/Transient.InspectDescriptionComponent123_REMOVED_FF113C7D49CCE1A4E0E511BFD5238142’ before the registry was available!
Don’t mind the 123 suffix, I changed the name before removing to test if rename helps. What is actually also pretty weird I know the place where I need to change this component variable to be later reflected in the logs, so it should be the problematic place… But nothing I do to this BP fixes this. Even removing all references to this component, as seen in the logs.
