Unable to Package DLC in 4.25


In my team we are unable to successful package of our project. We thought that we had some problems on our project and start with new one. But our big surprise is that it failed again.

We prove it on new machine and with all the Unreal Templates and it continues failed.

The steps to reproduce this is create a Template, not matter what you it chooses.
Duplicate the startup map, and rename it to whatever you wants.

Now go to Project Launcher, pick the iOS DLC template, and change IOS build platform to Windows.

Pick the startup map for build the 1.0 package, and pick the duplicate one to the DLC. Build the 1.0 release. And when you build the DLC map, it fails and says a Asertion Failed. It referrer to a Plugin.IsValid() function on CookOnFlyServer…

I put here the LOG, and a screenshot.

We are downgrade our project to 4.22 because cannot compile the project to our client. We worry about that because we needed the new Atmospheric Sky.

  LogWindows: Error: begin: stack for UAT
  LogWindows: Error: === Critical error: ===
  LogWindows: Error:
  LogWindows: Error: Assertion failed: Plugin.IsValid() [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Editor/UnrealEd/Private/CookOnTheFlyServer.cpp] [Line: 2508]
  LogWindows: Error:
  LogWindows: Error:
  LogWindows: Error:
  LogWindows: Error: [Callstack] 0x00007ffc50faa799 KERNELBASE.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffbb519eb46 UE4Editor-Core.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffbb51a1f28 UE4Editor-Core.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffbb4f2e53d UE4Editor-Core.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffbb4eb97b5 UE4Editor-Core.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffbb4ebbaf0 UE4Editor-Core.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffbac971efd UE4Editor-UnrealEd.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffbac9ba414 UE4Editor-UnrealEd.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffbac945776 UE4Editor-UnrealEd.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffbac9c54a9 UE4Editor-UnrealEd.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffbac831031 UE4Editor-UnrealEd.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffbac85bd5b UE4Editor-UnrealEd.dll!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ff7559b363a UE4Editor-Cmd.exe!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ff7559ab7ec UE4Editor-Cmd.exe!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ff7559abb5a UE4Editor-Cmd.exe!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ff7559be31d UE4Editor-Cmd.exe!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ff7559c040a UE4Editor-Cmd.exe!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffc52cf7bd4 KERNEL32.DLL!UnknownFunction []
  LogWindows: Error: [Callstack] 0x00007ffc538cce51 ntdll.dll!UnknownFunction []
  LogWindows: Error:
  LogWindows: Error: end: stack for UAT

Nobody package DLC in 4.25?

I have same issue.

I have the same issue, can anyone please help?

Same issue on UE 4.26 anyone have a clue of why this happening ?

March 24th, 2021 - replicated the issue in our project and a blank project. Same assertation on the same line. Using Unreal Engine 4.26

Still unable to successfully package DLC.

Assertation seems to trigger during the BlueprintCodeGen.

The line the assertation points to is checking the validity of the Plugin ptr shown below.

Tsharedptr Plugin = IPluginManager::Get().FindPlugin(cookbythebookOptions->DLCName)