Packaging DLC Error

Hello. I want create game build and DLC and encountered a problem when creating DLC.
I setup two package - FullGame and DLC for it. FullGame creating fine, but creating DLC faile on packaging.
Please see screenshot and log. What I’m doing wrong?
[link text][1]

Hi, I ran into the same problem with ‘Couldn’t update resource’. I traced through the code and found that this is basically being thrown by something trying to update the Start Menu/taskbar icons for the file, as far as I can see. However, the pak file for the DLC is still generated as expected. Ignore the error and use the pak file anyway.

Funkish,

Could you please try to fix the issue you’re having by using the [answer from this AnswerHub post][1]?

Let me know if this works or not, thanks!

Packaging Error : Couldn't update resource - Platform & Builds - Epic Developer Community Forums

If I think right, my engine version from launcher and Blueprint project not suitable with this editing source code?
Do I need grab source engine version and start C++ project for fix this bug?

You can have a C++ project in the binary version of the engine. You just can’t modify any engine code if you needed to in a binary version, you’d need a source version for that.

This resolution does look as though it would be easily fixed in a source build if you are not able to modify your WinPlatform.Automation.cs file.

Keep a copy of your original file, just in case this does not resolve your issue. Then you’ll be able to revert back to square one.

The problem with modifying WinPlatform.Automation.cs is that it seems to already have been fixed in such a manner in the current release version of UE4 4.14 source. I compiled it and the same error still persists, though I can still use the pak file generated despite the error.

Do you know the changelist of UE4 that you’re in?

You should be able to check by clicking on ‘Help’ > ‘About Unreal Editor…’ and it’ll say Version: 4.14.0-3195953 for example.

Upload your newest logs too just so we can verify they’re 100% the same.

Thanks!

Version: 4.14.0-3195953+++UE4+Release-4.14
[link text][1]

117098-projectlauncher.log (68.9 KB)

It looks as though you’re on a binary version of the engine, which is from the Epic Games Launcher. If you’re trying to modify any of the source code in the actual engine, you would need to download the GitHub version of UE4.

So if you followed the fix that’s displayed in the AnswerHub I originally linked to you, you would need to get the source (GitHub) version of the engine.

I hope this helps!

I just ran into this too. Seems like its been around for a long time in one form or another (since 4.7) - could we please get a proper fix?

Oddly, since 4.7 I’ve been following the same DLC creation process without issue until 4.14.2, and now I get this error so something’s changed though it could be my install process (I installed what seemed like the bare minimum this time).

Pretty please with icing on top?

theonecalledtom,

We have a in our system UE-39861 where plugins/dlc when using UAT/Cooker will fail due to being in folders. The issue here is that while plugins and dlc should be able to be in any folder, the engine isn’t allowing the build to work properly. This is a priority 3 bug. I’m wondering if it’s the same issue you’re running in to. If so, this is being looked at but I cannot guarantee when it’ll be resolved and released.

If you have more information to provide, such as reproduction steps where we can rule out it’s not the same type of bug, I’ll be able to test it and put a bug in for this as well.

Thanks!

As thepeech said

The problem with modifying WinPlatform.Automation.cs is that it seems to already have been fixed in such a manner in the current release version of UE4 4.14 source. I compiled it and the same error still persists, though I can still use the pak file generated despite the error.

So the previous code source fix can’t be used anymore. And yeah, I have the exact same issue :frowning:

This happened to me and the cause was a corrupt binary. I just opened a source file, hit space and backspace, then saved. After that everything packaged correctly.