Linking Error While Shipping Proyect

I have a project that works fine in the editor and in a windows desktop development package.

But the moment I try to package it with the shipping build, everything is doing ok until the last link step, when an error arises:

Creating makefile for CapturaViewerUE4 (no existing makefile)
Performing full C++ include scan (no include cache file)
Parsing headers for CapturaViewerUE4
  Running UnrealHeaderTool "C:\Users\Javi\Documents\Unreal Projects\CapturaViewerUE4\CapturaViewerUE4.uproject" "C:\Users\Javi\Documents\Unreal Projects\CapturaViewerUE4\Intermediate\Build\Win64\CapturaViewerUE4\Shipping\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -rocket -installed
Reflection code generated for CapturaViewerUE4 in 12,4636072 seconds
Performing 22 actions (4 in parallel)
PCH.MeshImporterPCH.h.cpp
PCH.Visor3DPCH.h.cpp
PCH.UELinkerFixupsName.h.cpp
PCH.CapturaViewerUE4.h.cpp
UELinkerFixups.cpp
MeshImporter.generated.cpp
MyProceduralMeshComponent.cpp
Visor3DModule.cpp
modelViewer.cpp
cameraVisor.cpp
Visor3D.generated.cpp
MeshImporterModule.cpp
ProceduralTest.cpp
[14/22] Link UE4-Visor3D-Win64-Shipping.lib
CapturaViewerUE4.cpp
CapturaViewerUE4.generated.cpp
viewerHUD.cpp
TreeItem.cpp
c:\users\javi\documents\unreal projects\capturaviewerue4\plugins\meshimporter\source\meshimporter\public\tiny_obj_loader.h(1108): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(2254): note: see declaration of 'sscanf'
c:\users\javi\documents\unreal projects\capturaviewerue4\plugins\meshimporter\source\meshimporter\public\tiny_obj_loader.h(1132): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(2254): note: see declaration of 'sscanf'
CapturaViewerUE4GameMode.cpp
SDDFileTree.cpp
[21/22] Link UE4-MeshImporter-Win64-Shipping.lib
[22/22] Link CapturaViewerUE4-Win64-Shipping.exe
LINK : fatal error LNK1181: cannot open input file 'C:\Program Files (x86)\Epic Games\4.10\Engine\Binaries\Win64\UE4-EditorStyle-Win64-Shipping.lib'
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: C:\Users\Javi\Documents\Unreal Projects\CapturaViewerUE4\Binaries\Win64\CapturaViewerUE4-Win64-Shipping.exe
Total build time: 404,27 seconds

If I try to search for the C:\Program Files (x86)\Epic Games\4.10\Engine\Binaries\Win64\UE4-EditorStyle-Win64-Shipping.lib file, it doesnt even exists.

Note that I use two plugins of my own (which work perfectly fine in the editor and in a development package) and both of them are runtime plugins.

Any ideas?

Thanks in advance.

Hi ,

I made a few attempts to reproduce the issue that you described, but was unable to see any failures when packaging for Shipping. Do you see this same behavior occur in a new test project? Are you using UFE when you package your project? What settings are you using?

Hi ,

We have not heard back from you for a while. Do you still need help with this issue? I will be marking this post as resolved for internal tracking purposes, but please feel free to add a comment and reopen the post if you need any more help.