A Packaged build that has had an Editor Only Component added to one of its Blueprints logs a false positive warning in USimpleConstructionScript::FixupRootNodeParentReferences():
USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn't find native parent component 'MyEditorOnlyComponent' for 'MyEditorOnly' in BlueprintGeneratedClass 'BP_MyBrokenActor_C' (it may have been removed)
It looks like the Component that was added in the Editor is not removed before packaging and ends up "parentless". It's expected that the engine handles this edge case prior to throwing a warning.
#if WITH_EDITORONLY_DATA UMyEditorOnlyComponent* MyEditorOnlyComponent; #endif //WITH_EDITORONLY_DATA
#if WITH_EDITORONLY_DATA MyEditorOnlyComponent = CreateDefaultSubobject<UMyEditorOnlyComponent>(TEXT("MyEditorOnlyComponent")); MyEditorOnlyComponent->SetupAttachment(GetRootComponent()); #endif //WITH_EDITORONLY_DATA
I am not able to find world outliner how to enable it?
What method is used to fill polygonal regions when drawing spline mesh at run time?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How can i modify the param name in EQS node
How to achieve HLSL Multiple Render Target in Material blueprints?
How does TextureRenderTarget2D get TArray<uint8> type data?
How does UMG set overlapping layouts?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-227735 in the post.
1 |
Component | UE - Gameplay - Components |
---|---|
Affects Versions | 5.4.4 |
Target Fix | 5.6 |
Created | Oct 15, 2024 |
---|---|
Updated | Oct 17, 2024 |