Description

Attempting to package a plugin as DLC is failing with the following error message:

Program.Main: ERROR: AutomationTool terminated with exception: System.Exception: Couldn't update resource

However, in 4.16 Main CL# 3345045 the same process actually seems to cause a commandlet crash, which is shown in the attached ProjectLauncher_MAIN.log file attached to this ticket.

Steps to Reproduce
  1. Add the attached launch profiles to your <EngineInstallLocation>\Engine\Programs\UnrealFrontend\Profiles
  2. Create a new C++ project
  3. Save the map as NewMap
  4. Open the project launcher
  5. Edit the FULLGAME profile
  6. The only changes you need to make are to check NewMap under Cooked Maps and update the Local Directory Path to package to.
  7. Launch FULLGAME
  8. When it finishes, navigate to Edit->Plugins and create a new, blank plugin named TestPlugin
  9. Restart the editor and rebuild the .dll when prompted
  10. Open the project launcher
  11. Edit the DLCTEST profile and check NewMap under Cooked Maps and update the Local Directory Path to package to.
  12. Launch DLCTEST

Result: Packaging fails with error:

Program.Main: ERROR: AutomationTool terminated with exception: System.Exception: Couldn't update resource

Expected: Packaging would complete successfully

Community References

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

14
Login to Vote

Fixed
ComponentUE - Foundation - Core - Cooker
Affects Versions4.144.154.17.24.18.24.20
Target Fix4.20
Fix Commit3909255
Main Commit4034515
Release Commit4095966
CreatedMar 14, 2017
ResolvedFeb 26, 2018
UpdatedMay 31, 2018