x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

4.9 Cooker... 'forgetting' about parent classes?

I'm trying to upgrade my Generic Shooter marketplace asset to 4.9 and I'm experiencing some super annoying cooker issues that seem systemic of something deeper.

When I load Generic Shooter in 4.9, there are some Input nodes I have to delete since they don't have an equivalent (Get Key equivalent for On Analog Value Changed? This is rather unfortunate but is a seperate issue). After fixing those up and recompiling any classes that PIE complains about (literally just hit compile and save and its good to go), PIE works as expected with GS.

The problem shows itself when cooking itself. Variables declared in the parent base class seem to just... not be findable in the child classes when cooking. The editor finds these variables and uses them just fine and everything works as expected, but numerous child/parent class references breaking on cooking is causing all sorts of problems and is making migration to 4.9 unfeasible.

Log is posted below.

Repro is easily done creating a project using the Generic Shooter marketplace asset and then trying to package it.

Edit: Full log attached:

link text

Product Version: UE 4.9 Preview
Tags:
more ▼

asked Aug 30 '15 at 11:26 PM in Bug Reports

avatar image

Allar
3.1k 51 119 487

avatar image HeadClot Aug 30 '15 at 11:41 PM

I am experiencing the same as above.

avatar image paranoic86 Aug 31 '15 at 06:41 PM

I have the same issue

avatar image Dashiva Aug 31 '15 at 06:45 PM

confirmed for 4.9... would be nice to have this fixed

avatar image Teichroeb Aug 31 '15 at 07:11 PM

Confirmed here too :(

avatar image Slavq Sep 01 '15 at 12:09 AM

Probably i have the same problem. Do you package with Shipping or Development setup? In my case Development build works fine, but I can't cook it in Shipping mode. No meaningful error (just "RunUAT.bat ERROR: AutomationTool was unable to run successfully."), but a lot of warnings like "Warning: CreateExport: Failed to load Parent for Function /Game/Blueprinty/Ciosy/CiosyDlaPostaci/1H_Cios1.1H_Cios1_C:UserConstructionScript; removing parent information, but keeping function"

avatar image Allar Sep 01 '15 at 12:13 AM

I'm using Development, but I also get the same thing with Shipping.

avatar image Sorrien Sep 01 '15 at 02:08 AM

Getting the same errors but in blueprint. Call to parent function fails, but the inherited function itself is fine.

avatar image Samantha Sutton ♦♦ STAFF Sep 01 '15 at 04:30 PM

Hey Allar,

Generic Shooter is only available for 4.8 at this time. This means that upgrading it to 4.9 may not transition smoothly. Once the update to 4.9 is released, these issues you've pointed out should no longer occur.

Could you please upload your full error log as a .txt file? This will allow me to view the whole log with ease.

Also, have you attempted to ensure that these parent and child classes are paired correctly? Sometimes when migrating or updating your project to a new version, code in specific sections has changed and some child/parent pairs will need to be redone.

Let me know how that works, looking forward to hearing back!

avatar image Sorrien Sep 01 '15 at 05:53 PM

The issue for me, and I think most of the people here, is that migrating to a new versions breaks so many aspects of a project. I know it's probably best to wait for a 4.9 version of the samples, but what about people who have this issue in projects that they have sunk many an hour into? My point is that upgrading to a new version is almost always like pulling teeth.

avatar image Samantha Sutton ♦♦ STAFF Sep 01 '15 at 10:05 PM

Hey Sorrien,

I understand that it can be troublesome for updates to take place on certain projects or plugins however, the engine is forever changing. So if there is a specific bit of code in the engine that changes that's in your project, you're going to have to replace the broken information with the new information. Does that make sense?

If you're working on a large project, or a game you're going to release, it's best to stay on one stable version of the engine. AAA title games stay on a specific version of the engine and implement a certain selection of additions to the engine through Source (GitHub). Doing it that way, keeps the project and the engine both stable. If you're going to attempt this, please always keep back up files of your projects just in case something doesn't update properly for you.

Although, once I receive the full logs from Allar, I will have a bit more information to go on and to assist Allar further.

Thanks!

avatar image Sorrien Sep 01 '15 at 10:26 PM

Hello Samantha, I understand the issues inherent with upgrades and changes. The issue described here has been a problem with upgrades at least as far back as 4.6. Of course, I do keep backups of my projects. I will take your advice of finding a version of the engine and sticking with it. Thank you.

avatar image Samantha Sutton ♦♦ STAFF Sep 03 '15 at 02:22 PM

You're welcome.

avatar image Devero Sep 01 '15 at 07:47 PM

Hi Samantha =). Allar is the creator of that marketplace pack. He is not able to do the update transistion itself and release it to everyone.

avatar image Samantha Sutton ♦♦ STAFF Sep 01 '15 at 10:02 PM

Thanks Devero for informing me he's the creator. I missed that hint earlier. :)

avatar image Samantha Sutton ♦♦ STAFF Sep 17 '15 at 02:52 PM

Hey Allar,

The warnings you're seeing regarding 'Failed to load Parent for Function' is an issue that we are aware of. It's entered into Jira as a priority 3 and it's unresolved at this time. If you'd like to check on this issue in the future, please refer to UE-20194.

These warnings seemed to have started happening a lot in 4.9 with data-only blueprints' UCS functions. For data-only blueprints, ones which only call their super's UCS, we've removed that function on load. Otherwise it wouldn't be a data-only blueprint, and the function is unneeded as it only calls the super.

With that being said, it looks as though there are children of the data-only blueprints that are now looking for that super function, but it's no longer within the code, thus producing these errors.

Since you've stated you've went through the warnings and errors provided in your log, would you please mind providing me with the newest error log that you've received?

Thank you!

avatar image Allar Sep 17 '15 at 05:31 PM

Newest log: link text

I thought something like that was the case, so I added some stuff in any blueprint in the class hierarchy that was data only but the issue didn't seem to go away. The UCS function issues, although annoying and have been worked around, aren't my biggest issue. My biggest issue were the other warnings about not being able to access variables declared in parent blueprints that are present in the original log but not this newer log. The workaround for creating functions to access variable values instead of using variable values directly is only maintainable up to a certain point.

New log also indicates a fun little oddity, saving packages are indicated as warnings. I looked on the master branch of github and saw that this was already addressed, but wasn't in 4.9.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Did you change your blueprints enough so they'd not only be data-only? If so, did you go through each blueprint that was in your warnings previously? Do those files still show that there is a warning within the logs?

This is what I would focus on at this time because warnings don't always cause a project to fail, they're just there to let you know that something may have not worked properly:

 [2015.09.17-17.18.36:906][983]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.17-17.18.36:902][  0]LogInit:Display: Warning/Error Summary
 
 [2015.09.17-17.18.36:906][983]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.17-17.18.36:902][  0]LogInit:Display: ---------------------
 
 [2015.09.17-17.18.36:906][983]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.17-17.18.36:902][  0]LogInit:Display: LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/BlueprintLogic/GameModes/BP_TeamDeathmatch.BP_TeamDeathmatch_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.17-17.18.36:906][983]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.17-17.18.36:902][  0]LogInit:Display: LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/Weapons/Common/Pistol/BP_Pistol.BP_Pistol_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.17-17.18.36:906][983]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.17-17.18.36:903][  0]LogInit:Display: LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/Weapons/Common/Rifle/BP_Rifle.BP_Rifle_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.17-17.18.36:906][983]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.17-17.18.36:903][  0]LogInit:Display: LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/BlueprintLogic/Teams/BP_Team_Dragonauts.BP_Team_Dragonauts_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.17-17.18.36:906][983]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.17-17.18.36:904][  0]LogInit:Display: LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/BlueprintLogic/Teams/BP_Team_SlitheringSnails.BP_Team_SlitheringSnails_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.17-17.18.36:906][983]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.17-17.18.36:905][  0]LogInit:Display: LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/BlueprintLogic/Teams/BP_Team_SwagasaurusRex.BP_Team_SwagasaurusRex_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.17-17.18.36:906][983]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.17-17.18.36:905][  0]LogInit:Display: LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/BlueprintLogic/Teams/BP_Team_TheOrder.BP_Team_TheOrder_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.17-17.18.36:906][983]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.17-17.18.36:906][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to find object 'Object /Engine/Tutorial/SubEditors/PersonaAnimEditorTutorial.PersonaAnimEditorTutorial_C'
 
 [2015.09.17-17.18.36:913][984]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.17-17.18.36:906][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to find object 'Object /Script/CoreUObject.Object.Vector'
more ▼

answered Sep 18 '15 at 05:14 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey Allar,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you

more ▼

answered Sep 08 '15 at 02:10 PM

avatar image Allar Sep 13 '15 at 02:15 AM

Full log attached.This happens on 4.9 and the most recent 4.9.1 as of 9/12/2015

link text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey Allar,

Here are the errors regarding the parent classes:

 [2015.09.13-02.12.49:938][895]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.13-02.12.49:904][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/Weapons/Common/GrenadeLauncher/Projectiles/BP_Projectile_Grenade.BP_Projectile_Grenade_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.13-02.12.49:946][896]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.13-02.12.49:931][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/Weapons/Common/GrenadeLauncher/BP_GrenadeLauncher.BP_GrenadeLauncher_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.13-02.12.49:963][898]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.13-02.12.49:944][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/Weapons/Common/GrenadeLauncher/BP_Pickup_Ammo_Grenade.BP_Pickup_Ammo_Grenade_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.13-02.12.49:971][899]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.13-02.12.49:955][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/Weapons/Common/Pistol/BP_Pickup_Ammo_Pistol.BP_Pickup_Ammo_Pistol_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.13-02.12.49:979][900]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.13-02.12.49:965][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/Weapons/Common/Rifle/BP_Pickup_Ammo_Rifle.BP_Pickup_Ammo_Rifle_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.13-02.12.49:988][901]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.13-02.12.49:977][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/Weapons/Common/Rifle/BP_SuperRifle.BP_SuperRifle_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.13-02.12.50:029][906]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.13-02.12.49:986][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/Weapons/Common/Rifle/BP_Pickup_Ammo_SuperRifle.BP_Pickup_Ammo_SuperRifle_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.13-02.12.50:038][907]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.13-02.12.50:026][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/Weapons/Common/RocketLauncher/BP_RocketLauncher.BP_RocketLauncher_C:UserConstructionScript; removing parent information, but keeping function
 
 [2015.09.13-02.12.50:437][955]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.09.13-02.12.50:035][  0]LogLinker:Warning: CreateExport: Failed to load Parent for Function /Game/GenericShooter/Weapons/Common/RocketLauncher/BP_Pickup_Ammo_Rocket.BP_Pickup_Ammo_Rocket_C:UserConstructionScript; removing parent information, but keeping function

Have you attempted to recreate the parent class and recreate the function that calls the parent class from the child? If not, could you please do that for at least one of these files above and provide that information to me and include the logs?

Thank you!

more ▼

answered Sep 14 '15 at 09:18 PM

avatar image Allar Sep 16 '15 at 03:07 PM

I have done so and the same exact warnings are appearing, just in a different order. Doing some more digging, I've found that this doesn't seem to be a 4.9 specific issue, but simply just an issue I've only now come across when migrating to 4.9. According to this answerhub question, this same issue with this same reporting and same behavior existed in 4.4/4.5. https://answers.unrealengine.com/questions/90039/createexport-failed-to-load-super-for-function-x.html

I've seen some other answerhub questions floating around about this too. I suppose I'll just hold off on migrating Generic Shooter to 4.9 until these others get resolved, as this has turned out to be a duplicate question.

I've solved the other warnings that you've culled out of my original post by accepting the fact that 4.9 won't allow reading of parent variables in some cases and creating explicit functions to return the value of the variables I need to access in the children. Calling those functions seems to work reliably.

Update: Because the warnings you've extracted and the resulting behavior that results from them seems to be limited to the construction scripts of child classes, I've reworked my project to not rely on construction scripts. This doesn't solve the issue, but it makes the issue less relevant for me. With this workaround and with the child-parent function-to-access-variable workaround, the warnings are still present on cook but they can now be ignored. This is fine for now I suppose.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question