UE4Editor-Cmd: LogInit:Display: LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/Potion_001.Potion_001_C:UserConstructionScript; removing parent information, but keeping function

Since version 4.10 I received error message about missing :UserConstructionScript

I’ve tried to open all assets impacted by this message, compile and save.
Without success, the message is still displayed.

Is there a bug regarding this issue ?

D.

Hey -

Can you explain where this message is appearing? Do you get the same message in a new project? It sounds as though the parent to “potion_001” is corrupted or missing from the project but without more information I can’t say for certain if that’s the case.

Cheers

This message is display in the Output log.

[2015.11.17-06.19.48:461][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GameObjects/Boosters/BP_EnergyBoosterBig.BP_EnergyBoosterBig_C:UserConstructionScript; removing parent information, but keeping function
[2015.11.17-06.19.48:464][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GameObjects/Boosters/BP_EnergyBoosterMedium.BP_EnergyBoosterMedium_C:UserConstructionScript; removing parent information, but keeping function
[2015.11.17-06.19.48:467][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GameObjects/Boosters/BP_EnergyBoosterSmall.BP_EnergyBoosterSmall_C:UserConstructionScript; removing parent information, but keeping function
[2015.11.17-06.19.48:475][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GameObjects/Boosters/BP_PowerBoosterBig.BP_PowerBoosterBig_C:UserConstructionScript; removing parent information, but keeping function
[2015.11.17-06.19.48:479][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GameObjects/Boosters/BP_PowerBoosterMedium.BP_PowerBoosterMedium_C:UserConstructionScript; removing parent information, but keeping function
[2015.11.17-06.19.48:483][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GameObjects/Boosters/BP_PowerBoosterSmall.BP_PowerBoosterSmall_C:UserConstructionScript; removing parent information, but keeping function
[2015.11.17-06.19.48:488][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GameObjects/Boosters/BP_SpeedBoosterBig.BP_SpeedBoosterBig_C:UserConstructionScript; removing parent information, but keeping function
[2015.11.17-06.19.48:491][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GameObjects/Boosters/BP_SpeedBoosterMedium.BP_SpeedBoosterMedium_C:UserConstructionScript; removing parent information, but keeping function
[2015.11.17-06.19.48:494][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GameObjects/Boosters/BP_SpeedBoosterSmall.BP_SpeedBoosterSmall_C:UserConstructionScript; removing parent information, but keeping function

I’ve upgraded the project from version 4.9.2 to 4.10

When I open this Blueprint in the Editor, no problem, I can see it is derived from another Blueprint. I can browse the parent by clicking the icon near the parent link and I can open the parent Blueprint. This blueprint is derived from a C++ class which exists. If I click on the parent url, it opens the C++ file.

I have this message for several blueprints.

Kind regards,
D.

From what I can gather the warning message is referring to either something in the Potion construction script that refers to its parent or there is something in the construction script of the parent.

It does appear that the child blueprint is attempting to access a function from the parent but the editor can’t find the function in the parent. Since the child contains the information necessary, the warning message is letting you know that the editor is disregarding information from the parent and just using the info from the child instead. In either case the warning message does not appear to have an effect on the blueprint itself and should be safe to ignore.

Thank you.
I will check on Tuesday and let you know.

D.

I’ve checked the class hierarchy and do not found any problem with construction.

The potion blueprint follows the schema :

C++
AKBasicObject → AActor

AKPickupObject → AKBasicObject

AKConsumableObject → AKPickupObject

Blueprints

BP_Consumable → AKConsumableObject

Potion_001 → BP_Consumable

In blueprint, nothing in Construction script

In C++, standard intialization calling the parent using Super

AKBasicObject::AKBasicObject(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{}

Then I don’t known what functions the blueprint is trying to call.

D.

To investigate further I would have to look at your project to see the message and track the cause. If you can upload your project to dropbox you can post the link here or send me a PM with the link on the forums for privacy. However, since the message is only a warning that appears when opening the blueprint it should be safe to ignore for now.

Ok good, I will ignore and see if it disappears in next UE4 updates.

Thank you very much and have a nice day.
D.