I have blueprint that derives from C++ class that derives from AInfo type. AInfo has Sprite component.
Then, while loading dedicated server the following things happen:
FixupRootNodeParentReferences() method from SimpleConstructionScript.cpp reports log:
“LogBlueprint:Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find native parent component ‘Sprite’ for ‘DefaultSceneRoot’ in BlueprintGeneratedClass ‘#####’ (it may have been removed)”
Blueprint has still information about root sprite component. RootNodes collection has 1 entry with ParentComponentOrVariableName set to “Sprite”. Then CDO is being queried for component with this name. Of course Sprite component does not exist in this configuration.
Question:
How do you handle this problem in GameMode, GameState ??
They also derives from AInfo but their SpriteComponent doesn’t exist even in blueprint when application works as an editor.