How can I fix this cooking error during my packaging?

Hi, last week I was testing my game’s LAN matches, and for that it required a packaged version of it to run the openlevel command to go from the lobby to the arena. So everytime I had to adjust something in the project I had to repack and that was going smooth.

In one of my adjustments the Packagin stop working and start droping cooking failures.

After reading the Package and Deployment Troubleshooting I believe I have found the cause but I don’t know how to fix it.

Here is my LOG.

And here is my search for errors and warnings

Errors:
ProcessResult.StdOut:   LogWindows: Error: begin: stack for UAT
ProcessResult.StdOut:   LogWindows: Error: === Critical error: ===
ProcessResult.StdOut:   LogWindows: Error:
ProcessResult.StdOut:   LogWindows: Error: Fatal error!
ProcessResult.StdOut:   LogWindows: Error:
ProcessResult.StdOut:   LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000010
ProcessResult.StdOut:   LogWindows: Error:
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb8710f76a UE4Editor-CoreUObject.dll!FObjectDuplicationParameters::FObjectDuplicationParameters() [h:\unrealengine-release\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1917]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb7bc7e212 UE4Editor-UMG.dll!UUserWidget::TemplateInitInner() [h:\unrealengine-release\engine\source\runtime\umg\private\userwidget.cpp:122]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb7bb9bf73 UE4Editor-UMG.dll!<lambda_a70f0e5ed46a268e089706f317b27fda>::operator()() [h:\unrealengine-release\engine\source\runtime\umg\private\userwidget.cpp:159]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb7bbf5876 UE4Editor-UMG.dll!UWidgetTree::ForWidgetAndChildren() [h:\unrealengine-release\engine\source\runtime\umg\private\widgettree.cpp:234]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb7bbf55bd UE4Editor-UMG.dll!UWidgetTree::ForEachWidget() [h:\unrealengine-release\engine\source\runtime\umg\private\widgettree.cpp:180]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb7bc7e2a7 UE4Editor-UMG.dll!UUserWidget::TemplateInitInner() [h:\unrealengine-release\engine\source\runtime\umg\private\userwidget.cpp:165]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb7bc7e121 UE4Editor-UMG.dll!UUserWidget::TemplateInit() [h:\unrealengine-release\engine\source\runtime\umg\private\userwidget.cpp:107]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb7bc1421e UE4Editor-UMG.dll!UWidgetBlueprintGeneratedClass::InitializeTemplate() [h:\unrealengine-release\engine\source\runtime\umg\private\widgetblueprintgeneratedclass.cpp:598]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb7bc3b1a9 UE4Editor-UMG.dll!UWidgetBlueprintGeneratedClass::PreSave() [h:\unrealengine-release\engine\source\runtime\umg\private\widgetblueprintgeneratedclass.cpp:562]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb871038dd UE4Editor-CoreUObject.dll!FPackageExportTagger::TagPackageExports() [h:\unrealengine-release\engine\source\runtime\coreuobject\private\uobject\savepackage.cpp:2789]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb870e9e0a UE4Editor-CoreUObject.dll!UPackage::Save() [h:\unrealengine-release\engine\source\runtime\coreuobject\private\uobject\savepackage.cpp:3680]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb840443e5 UE4Editor-UnrealEd.dll!UEditorEngine::Save() [h:\unrealengine-release\engine\source\editor\unrealed\private\editorengine.cpp:4444]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb83eed9e2 UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackage() [h:\unrealengine-release\engine\source\editor\unrealed\private\cookontheflyserver.cpp:4036]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb83eefd9c UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackages() [h:\unrealengine-release\engine\source\editor\unrealed\private\cookontheflyserver.cpp:2929]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb83efad69 UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::TickCookOnTheSide() [h:\unrealengine-release\engine\source\editor\unrealed\private\cookontheflyserver.cpp:2393]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb83d92a48 UE4Editor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [h:\unrealengine-release\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:885]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffb83db8a0f UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [h:\unrealengine-release\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:586]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ff75ffb2fb0 UE4Editor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [h:\unrealengine-release\engine\source\runtime\launch\private\launchengineloop.cpp:3059]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ff75ffac17c UE4Editor-Cmd.exe!GuardedMain() [h:\unrealengine-release\engine\source\runtime\launch\private\launch.cpp:131]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ff75ffac4ca UE4Editor-Cmd.exe!GuardedMainWrapper() [h:\unrealengine-release\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ff75ffbceae UE4Editor-Cmd.exe!WinMain() [h:\unrealengine-release\engine\source\runtime\launch\private\windows\launchwindows.cpp:263]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ff75ffbede2 UE4Editor-Cmd.exe!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffbe7a57bd4 KERNEL32.DLL!UnknownFunction []
ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffbe860ced1 ntdll.dll!UnknownFunction []
ProcessResult.StdOut:   LogWindows: Error:
ProcessResult.StdOut:   LogWindows: Error: end: stack for UAT
Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)

Warnings:
ProcessResult.StdOut:   CookResults: Warning: Unable to find package for cooking /Game/DataManagement/TacticsGameMode
ProcessResult.StdOut:   LogCook: Warning: Unable to find package for cooking /Game/DataManagement/TacticsGameMode
ProcessResult.StdOut:   CookResults: Warning: Unable to find package for cooking /Game/Materials/OutlineMaterials/Materials/MF_ConvolveTextureObject
ProcessResult.StdOut:   LogCook: Warning: Unable to find package for cooking /Game/Materials/OutlineMaterials/Materials/MF_ConvolveTextureObject
ProcessResult.StdOut:   LogCook: Display: Cooked packages 0 Packages Remain 609 Total 609

As far as I can tell, In the warnings, the cooking can’t find “TacticsGameMode” package but the thing is that blueprint was renamed to "ArenaGameMode, but it keeps asking for it as its old name, so maybe that’s my problem? If not, I hope you can help me find the real problem.

It appears that the problem was some kind of bug with a structure inside anotherer structure when I was passing the reference from one blueprint to another.

After I replaced to a boolean for debuggin purposes the cooking begun to work again.

Hello: I am trying yo fix cooking error also. And someone is asking for my LOG. I havo no idea how to get “My LOG” or where I can find “MY LOG” would you be able to tell me how or where I can find my LOG…
Someone said I will find it in but I am including a screenshot of my proyect and I do not see it… can someone help me please… I have been with this problem for more than twp months…
Is there a video on unreal, or youtube, that shows?
Is there someone that actually knows, that can actually help me, even if I have to pay?

Thank you for your help.