Unreal is having trouble packaging my game:
I can't figure this one out on my own, maybe someone here can help me out...
(Using UE5 on a regular Windows machine, C++ project with mostly Blueprint-C++ usage)
I have tried replacing possible c++ classes that may cause this with blueprints, but with no luck.
When I try package, the pop-up information says it packaged successfully, but the selected folder is empty and the following messages appear in the console:
UATHelper: Packaging (Windows): ERROR: Unable to instantiate module 'UnrealEd': Unable to instantiate UnrealEd module for non-editor targets.
UATHelper: Packaging (Windows): (referenced via Target -> *.Build.cs -> UMGEditor.Build.cs -> Sequencer.Build.cs)
PackagingResults: Error: Unable to instantiate module 'UnrealEd': Unable to instantiate UnrealEd module for non-editor targets.
UATHelper: Packaging (Windows): Took 1,3900914s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\*\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+(x86)+Epic+Games+UE_5.0EA\UBT-*-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): Updating environment variables set by a Turnkey sub-process
UATHelper: Packaging (Windows): The system can not find the path specified.
UATHelper: Packaging (Windows): The system can not find the path specified.
Here's the logged file after the error message:
Log.WriteLinePrivate: ERROR: Unable to instantiate module 'UnrealEd': Unable to instantiate UnrealEd module for non-editor targets.
Log.WriteLinePrivate: (referenced via Target -> *.Build.cs -> UMGEditor.Build.cs -> Sequencer.Build.cs)
Log.WriteLinePrivate: BuildException: Unable to instantiate UnrealEd module for non-editor targets.
Log.WriteLinePrivate: at UnrealEd..ctor(ReadOnlyTargetRules Target) in D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\UnrealEd.Build.cs:line 15Wrapped by TargetInvocationException: Exception has been thrown by the target of an invocation.
Log.WriteLinePrivate: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
Log.WriteLinePrivate: at System.Reflection.RuntimeConstructorInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Log.WriteLinePrivate: at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 468Wrapped by BuildException: Unable to instantiate module 'UnrealEd': Unable to instantiate UnrealEd module for non-editor targets.
Log.WriteLinePrivate: (referenced via Target -> *.Build.cs -> UMGEditor.Build.cs -> Sequencer.Build.cs)
Log.WriteLinePrivate: at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 473
Log.WriteLinePrivate: at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 475
Log.WriteLinePrivate: at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 475
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildTarget.CreateModuleRulesAndSetDefaults(String ModuleName, String ReferenceChain) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 3801
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildTarget.FindOrCreateModuleByName(String ModuleName, String ReferenceChain) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 3899
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildModule.RecursivelyCreateIncludePathModulesByName(List`1 ModuleNames, List`1& Modules, CreateModuleDelegate CreateModule, String ReferenceChain) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildModule.cs:line 964
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildModule.RecursivelyCreateIncludePathModulesByName(List`1 ModuleNames, List`1& Modules, CreateModuleDelegate CreateModule, String ReferenceChain) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildModule.cs:line 966
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildModule.RecursivelyCreateModules(CreateModuleDelegate CreateModule, String ReferenceChain, List`1 ReferenceStack) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildModule.cs:line 928
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildModule.RecursivelyCreateModulesByName(List`1 ModuleNames, List`1& Modules, CreateModuleDelegate CreateModule, String ReferenceChain, List`1 ReferenceStack) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildModule.cs:line 950
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildModule.RecursivelyCreateModules(CreateModuleDelegate CreateModule, String ReferenceChain, List`1 ReferenceStack) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildModule.cs:line 929
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildModule.RecursivelyCreateModulesByName(List`1 ModuleNames, List`1& Modules, CreateModuleDelegate CreateModule, String ReferenceChain, List`1 ReferenceStack) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildModule.cs:line 950
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildModule.RecursivelyCreateModules(CreateModuleDelegate CreateModule, String ReferenceChain, List`1 ReferenceStack) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildModule.cs:line 931
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildBinary.CreateAllDependentModules(CreateModuleDelegate CreateModule) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildBinary.cs:line 159
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildTarget.PreBuildSetup() in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 2360
Log.WriteLinePrivate: at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, Boolean bSkipRulesCompile, Boolean bUsePrecompiled) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 783
Log.WriteLinePrivate: at UnrealBuildTool.BuildMode.CreateMakefile(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDescriptor, ISourceFileWorkingSet WorkingSet) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 684
Log.WriteLinePrivate: at UnrealBuildTool.BuildMode.Build(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, Boolean bSkipPreBuildTargets) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 258
Log.WriteLinePrivate: at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 228
Log.WriteLinePrivate: at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 565
Log.WriteLinePrivate: Timeline:
Log.WriteLinePrivate:
It's a very basic game that shouldn't have any difficulties packaging at all.
Any Ideas?
Names have been replaced by a *