help is error packing

UATHelper: Packaging (Windows): Running AutomationTool…
UATHelper: Packaging (Windows): Using bundled DotNet SDK version: 6.0.302
UATHelper: Packaging (Windows): Starting AutomationTool…
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject=“C:/Users/pofin/Documents/Unreal Projects/lomas_casa_final/lomas_casa_final.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=50361 -project=“C:/Users/pofin/Documents/Unreal Projects/lomas_casa_final/lomas_casa_final.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“C:/Users/pofin/Documents/Unreal Projects/lomas_casa_final/lomas_casa_final.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe”
-platform=Win64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -applocaldirectory=$(EngineDir)/Binaries/Win64 -archivedirectory=C:/Users/pofin/Desktop/casa_lomas -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.10 s.
UATHelper: Packaging (Windows): Using C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe
UATHelper: Packaging (Windows): Executing commands…
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.18362.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.26100.0, Allowed_AutoSdk=10.0.19041.0, Current_AutoSdk=, Flags=“InstalledSdk_ValidVersionExists”)
UATHelper: Packaging (Windows): Scanning for envvar changes…
UATHelper: Packaging (Windows): … done!
UATHelper: Packaging (Windows): Cleaning Temp Paths…
UATHelper: Packaging (Windows): BUILD SUCCESSFUL
UATHelper: Packaging (Windows): Setting up ProjectParams for C:\Users\pofin\Documents\Unreal Projects\lomas_casa_final\lomas_casa_final.uproject
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” lomas_casa_final Win64 Shipping -Project=“C:\Users\pofin\Documents\Unreal Projects\lomas_casa_final\lomas_casa_final.uproject” -Manifest=“C:\Users\pofin\Documents\Unreal Projects\lomas_casa_final\Intermediate\Build\Manifest.xml” -remoteini=“C:\Users\pofin\Documents\Unreal Projects\lomas_casa_final” -skipdeploy -log=“C:\Users\pofin\AppData\Roaming\Unreal Engine\A
utomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-lomas_casa_final-Win64-Shipping.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\pofin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-lomas_casa_final-Win64-Shipping.txt
UATHelper: Packaging (Windows): Creating makefile for lomas_casa_final (no existing makefile)
UATHelper: Packaging (Windows): Available x64 toolchains (1):
UATHelper: Packaging (Windows): * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433
UATHelper: Packaging (Windows): (Family=14.42.34433, FamilyRank=5, Version=14.42.34433, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
UATHelper: Packaging (Windows): Visual Studio 2022 compiler version 14.42.34433 is not a preferred version. Please use the latest preferred version 14.38.33130
UATHelper: Packaging (Windows): Available x64 toolchains (1):
UATHelper: Packaging (Windows): * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433
UATHelper: Packaging (Windows): (Family=14.42.34433, FamilyRank=5, Version=14.42.34433, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
UATHelper: Packaging (Windows): Visual Studio 2022 compiler version 14.42.34433 is not a preferred version. Please use the latest preferred version 14.38.33130
UATHelper: Packaging (Windows): Total execution time: 0.50 seconds
UATHelper: Packaging (Windows): Expecting to find a type to be declared in a module rules named ‘StreamlineShaders’ in ‘UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. This type must derive from the ‘ModuleRules’ type defined by UnrealBuildTool.
UATHelper: Packaging (Windows): Took 0.58s to run dotnet.exe, ExitCode=8
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\pofin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-lomas_casa_final-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 2s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=8 (8)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

Te está diciendo que puedes encontrar más detalles en el archivo de log:
C:\Users\pofin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-lomas_casa_final-Win64-Shipping.txt

Posiblemente ahí encuentres una explicación mucho más detallada.

1 Like

Log started at 11/13/2024 13:53:28 (2024-11-13T19:53:28Z)
No config file at C:\ProgramData\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
No config file at C:\Users\pofin\AppData\Local\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
No config file at C:\Users\pofin\Documents\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Configuration will be read from:
C:\Users\pofin\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Log file: C:\Users\pofin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-lomas_casa_final-Win64-Shipping.txt

Setting temp directory to ‘C:\Users\pofin\AppData\Local\Temp\UnrealBuildTool\6e23c306’
Registering build platform: UnrealBuildTool.AndroidPlatformFactory
Registering build platform: UnrealBuildTool.IOSPlatformFactory
Registering build platform: UnrealBuildTool.LinuxPlatformFactory
Registering build platform: UnrealBuildTool.MacPlatformFactory
Registering build platform: UnrealBuildTool.TVOSPlatformFactory
Registering build platform: UnrealBuildTool.WindowsPlatformFactory
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (1)
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (2)
Found Windows 10 SDK version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10
Found Windows 10 SDK version 10.0.26100.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.26100.0 at C:\Program Files (x86)\Windows Kits\10
Win64 Installed SDK(s): MinVersion_Sdk=10.0.18362.0, MaxVersion_Sdk=10.9.99999.0, CurrentVersion_Sdk=10.0.26100.0, Version_AutoSdk=10.0.19041.0, CurrentVersion_AutoSdk=
Registering build platform: Win64 - buildable: True
Registering build platform: UnrealBuildTool.VisionOSPlatformFactory
Command line: “C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” lomas_casa_final Win64 Shipping “-Project=C:\Users\pofin\Documents\Unreal Projects\lomas_casa_final\lomas_casa_final.uproject” “-Manifest=C:\Users\pofin\Documents\Unreal Projects\lomas_casa_final\Intermediate\Build\Manifest.xml” “-remoteini=C:\Users\pofin\Documents\Unreal Projects\lomas_casa_final” -skipdeploy “-log=C:\Users\pofin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-lomas_casa_final-Win64-Shipping.txt”
Ignoring plugin ‘DataPrepEditor’ for platform/configuration
Ignoring plugin ‘InterchangeEditor’ for platform/configuration
Ignoring plugin ‘Interchange’ for platform/configuration
Ignoring plugin ‘ContentBrowserFileDataSource’ for platform/configuration
Ignoring plugin ‘SequencerScripting’ for platform/configuration
Ignoring plugin ‘MeshModelingToolset’ for platform/configuration
Ignoring plugin ‘MeshModelingToolsetExp’ for platform/configuration
Ignoring plugin ‘MeshLODToolset’ for platform/configuration
Ignoring plugin ‘ToolPresets’ for platform/configuration
Ignoring plugin ‘IOSDeviceProfileSelector’ for platform/configuration
Ignoring plugin ‘AppleImageUtils’ for platform/configuration
Ignoring plugin ‘OnlineSubsystemIOS’ for platform/configuration
Ignoring plugin ‘MobileLauncherProfileWizard’ for platform/configuration
Ignoring plugin ‘AppleMoviePlayer’ for platform/configuration
Ignoring plugin ‘OnlineSubsystemGooglePlay’ for platform/configuration
Ignoring plugin ‘XCodeSourceCodeAccess’ due to unsupported platform in plugin descriptor
Ignoring plugin ‘ContentBrowserFileDataSource’ for platform/configuration
Ignoring plugin ‘MeshModelingToolset’ for platform/configuration
Ignoring plugin ‘MeshModelingToolsetExp’ for platform/configuration
Ignoring plugin ‘PlanarCut’ for platform/configuration
Ignoring plugin ‘MeshModelingToolsetExp’ for platform/configuration
Ignoring plugin ‘BaseCharacterFXEditor’ for platform/configuration
Ignoring plugin ‘MediaPlayerEditor’ for platform/configuration
Ignoring plugin ‘MediaPlayerEditor’ for platform/configuration
Ignoring plugin ‘MeshModelingToolset’ for platform/configuration
Ignoring plugin ‘PythonScriptPlugin’ for platform/configuration
Ignoring plugin ‘XCodeSourceCodeAccess’ due to unsupported platform in plugin descriptor
Ignoring plugin ‘ContentBrowserFileDataSource’ for platform/configuration
Ignoring plugin ‘MeshModelingToolset’ for platform/configuration
Ignoring plugin ‘MeshModelingToolsetExp’ for platform/configuration
Ignoring plugin ‘PlanarCut’ for platform/configuration
Ignoring plugin ‘MeshModelingToolsetExp’ for platform/configuration
Ignoring plugin ‘BaseCharacterFXEditor’ for platform/configuration
Ignoring plugin ‘ContentBrowserFileDataSource’ for platform/configuration
Ignoring plugin ‘MediaPlayerEditor’ for platform/configuration
Ignoring plugin ‘MediaPlayerEditor’ for platform/configuration
Ignoring plugin ‘MeshModelingToolset’ for platform/configuration
Ignoring plugin ‘OnlineSubsystemGooglePlay’ due to unsupported platform in plugin descriptor
Ignoring plugin ‘OnlineSubsystemIOS’ due to unsupported platform in plugin descriptor
Creating makefile for lomas_casa_final (no existing makefile)
Skipping C:\Program Files\Epic Games\UE_5.4\Engine\Intermediate\Build\BuildRules\UE5Rules.dll: File is installed
Skipping C:\Program Files\Epic Games\UE_5.4\Engine\Intermediate\Build\BuildRules\UE5ProgramRules.dll: File is installed
Found VisualStudio2022 installation: C:\Program Files\Microsoft Visual Studio\2022\Community (Product=Microsoft.VisualStudio.Product.Community, Version=17.12.35506.116)
Found Visual Studio toolchain: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433 (Family=14.42.34433, FamilyRank=5, Version=14.42.34433, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64, Error=False, Redist=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.42.34433)
Available x64 toolchains (1):

  • C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433
    (Family=14.42.34433, FamilyRank=5, Version=14.42.34433, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
    Visual Studio 2022 compiler version 14.42.34433 is not a preferred version. Please use the latest preferred version 14.38.33130
    Available x64 toolchains (1):
  • C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433
    (Family=14.42.34433, FamilyRank=5, Version=14.42.34433, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
    Visual Studio 2022 compiler version 14.42.34433 is not a preferred version. Please use the latest preferred version 14.38.33130
    Building UnrealGame - lomas_casa_final - Win64 - Shipping
    Total execution time: 0.62 seconds
    Expecting to find a type to be declared in a module rules named ‘StreamlineShaders’ in ‘UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. This type must derive from the ‘ModuleRules’ type defined by UnrealBuildTool.
    CompilationResultException: Expecting to find a type to be declared in a module rules named ‘StreamlineShaders’ in ‘UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. This type must derive from the ‘ModuleRules’ type defined by UnrealBuildTool.
    at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 494
    at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 437
    at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 437
    at UnrealBuildTool.UEBuildTarget.CreateModuleRulesAndSetDefaults(String ModuleName, String ReferenceChain, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 5339
    at UnrealBuildTool.UEBuildTarget.FindOrCreateModuleByName(String ModuleName, String ReferenceChain, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 5463
    at UnrealBuildTool.UEBuildTarget.FindOrCreateCppModuleByName(String ModuleName, String ReferenceChain, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 5597
    at UnrealBuildTool.UEBuildTarget.AddPlugin(PluginReferenceDescriptor Reference, String ReferenceChain, String ExcludeFolders, Dictionary2 NameToInstance, Dictionary2 NameToInfos, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 4596
    at UnrealBuildTool.UEBuildTarget.SetupPlugins(ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 4348
    at UnrealBuildTool.UEBuildTarget.PreBuildSetup(ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 3365
    at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bUsePrecompiled, UnrealIntermediateEnvironment IntermediateEnvironment, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 1392
    at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, BuildConfiguration BuildConfiguration, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 1226
    at UnrealBuildTool.BuildMode.CreateMakefileAsync(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDescriptor, ISourceFileWorkingSet WorkingSet, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 1114
    at UnrealBuildTool.BuildMode.BuildAsync(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger, Boolean bSkipPreBuildTargets) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 396
    at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 252
    at UnrealBuildTool.UnrealBuildTool.Main(String ArgumentsArray) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 660
    WriteFileIfChanged() wrote 0 changed files of 0 requested writes.
    Timeline:

[ 0.000]
0.000
[ 0.659]

esto es lo que hay ahi necesito pegar eso ahi en los directorios o solucionar cada renglon

Posiblemente no tenga nada que ver, pero se está quejando de que no estás utilizando la versión preferida del compilador de C++ de Visual Studio. Para solucionarlo, abre el instalador de Visual Studio (Visual Studio Installer), haz clic en Modificar instalación y te vas a la pestaña componentes individuales
image

y te aseguras de que tienes marcado: "MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8). Y desmarcado todos los demás con ese nombre y otras versiones o “Latest”.

No creo que afecte si hay otras versiones instaladas ya que UE5 utilizará la preferida, que es la que te digo de instalar. Luego reinicia el PC antes de probar a generar el ejecutable de nuevo.

PD: Luego también se queja de que no hay declarado ningún tipo en un módulo de reglas llamado “StreamlineShaders” dentro de “UE5Rules”. Es como si echara en falta algún plugin o módulo que no encuentra. Esto creo que es debido a que estás utilizando algún plugin que no tiene soporte (no funciona) para la plataforma para la que estás generando el ejecutable.

Mi recomendación: Crea un proyecto nuevo y haz el packing para generar su ejecutable sin añadir nada. Así te aseguras que todo está configurado e instalado para generar ejecutables. Si después de eso, tu proyecto da error al generar el ejecutable, significa que es un problema de tu proyecto o configuración. Esta es una forma de ir descartando el origen del problema.

1 Like

te agradesco bro funciono

¡Genial! :partying_face::partying_face::partying_face:

1 Like