Hello, I’m attempting to package my game for a quick test. Here’s the error I’m getting:
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: C:\UE_5.6\Engine\Binaries\ThirdParty\DotNet\8.0.300\win-x64\dotnet.exe "C:\UE_5.6\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" para Win64 Shipping -Project="C:\Users\impho\OneDrive - Refractor Software\project\unreal\para\para.uproject" -Manifest="C:\Users\impho\OneDrive - Refractor Software\project\unreal\para\Intermediate\Build\Manifest.xml" -remoteini="C:\Users\impho\OneDrive - Refractor Software\project\unreal\para" -skipdeploy -log="C:\Users\impho\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+UE_5.6\UBA-para-Win64-Shipping.t
xt"
UATHelper: Packaging (Windows): Log file: C:\Users\impho\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+UE_5.6\UBA-para-Win64-Shipping.txt
UATHelper: Packaging (Windows): Creating makefile for para (no existing makefile)
UATHelper: Packaging (Windows): Writing manifest to C:\Users\impho\OneDrive - Refractor Software\project\unreal\para\Intermediate\Build\Manifest.xml
LogSlate: Window 'Message Log' being destroyed
UATHelper: Packaging (Windows): ERROR: Non-editor build cannot depend on non-redistributable modules. C:\Users\impho\OneDrive - Refractor Software\project\unreal\para\Binaries\Win64\para-Win64-Shipping.exe depends on 'MessageLog'.
UATHelper: Packaging (Windows): Dependant modules 'DNACalibModule'
PackagingResults: Error: Non-editor build cannot depend on non-redistributable modules. C:\Users\impho\OneDrive - Refractor Software\project\unreal\para\Binaries\Win64\para-Win64-Shipping.exe depends on 'MessageLog'.
UATHelper: Packaging (Windows): Non-editor build cannot depend on non-redistributable modules.
UATHelper: Packaging (Windows): Result: Failed (OtherCompilationError)
UATHelper: Packaging (Windows): Total execution time: 5.02 seconds
UATHelper: Packaging (Windows): Took 5.22s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\impho\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+UE_5.6\UBA-para-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 7s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
LogStreaming: Display: FlushAsyncLoading(555): 1 QueuedPackages, 0 AsyncPackages
PackagingResults: Error: Unknown Error
Here’s my build files:
para.Build.cs
// Copyright (C) William Pimentel-Tonche. All rights reserved.
using UnrealBuildTool;
public class para : ModuleRules
{
public para(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicDependencyModuleNames.AddRange(new string[]
{
"Core",
"CoreUObject",
"Engine",
"InputCore",
"EnhancedInput",
"UMG",
"GameplayTags",
"CommonUI",
"CommonInput"
});
PrivateDependencyModuleNames.AddRange(new string[] { });
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
// Uncomment if you are using online features
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
}
}
paraEditor.Target.cs
// Copyright (C) William Pimentel-Tonche. All rights reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class paraEditorTarget : TargetRules
{
public paraEditorTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Editor;
DefaultBuildSettings = BuildSettingsVersion.V5;
ExtraModuleNames.AddRange( new string[] { "para" } );
}
}
para.Target.cs
// Copyright (C) William Pimentel-Tonche. All rights reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class paraTarget : TargetRules
{
public paraTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
DefaultBuildSettings = BuildSettingsVersion.V5;
ExtraModuleNames.AddRange( new string[] { "para" } );
}
}
Here is my uproject file (para.uproject):
{
"FileVersion": 3,
"EngineAssociation": "5.6",
"Category": "",
"Description": "",
"Modules": [
{
"Name": "para",
"Type": "Runtime",
"LoadingPhase": "Default",
"AdditionalDependencies": [
"Engine"
]
}
],
"Plugins": [
{
"Name": "ModelingToolsEditorMode",
"Enabled": true,
"TargetAllowList": [
"Editor"
]
},
{
"Name": "EnhancedInput",
"Enabled": true
},
{
"Name": "CommonUI",
"Enabled": true
},
{
"Name": "FastGeoStreaming",
"Enabled": true
},
{
"Name": "MetaHumanCharacter",
"Enabled": true
},
{
"Name": "MetaHumanCoreTech",
"Enabled": true,
"SupportedTargetPlatforms": [
"Win64",
"Linux"
]
},
{
"Name": "MetaHuman",
"Enabled": true,
"SupportedTargetPlatforms": [
"Win64",
"Linux"
]
},
{
"Name": "MetaHumanLiveLink",
"Enabled": true
},
{
"Name": "LiveLinkControlRig",
"Enabled": true
},
{
"Name": "AppleARKitFaceSupport",
"Enabled": true,
"SupportedTargetPlatforms": [
"IOS",
"Win64",
"Mac",
"Linux",
"Android"
]
},
{
"Name": "GPULightmass",
"Enabled": true
},
{
"Name": "ShaderCompilationScreen",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/93c24c7c77614ac5ae5b39ad08449c2c"
},
{
"Name": "ConsoleVariables",
"Enabled": true
}
]
}
At first glance, I see absolutely nothing related to the MessageLog module in my build. There is a plugin (ModelingToolsEditorMode) referencing “Editor” but only in TargetAllowList. So, I really have zero clue what could be causing this problem.
I also want to note that when I do a clean build of my project, it seems to rebuild what I believe to be the MetaHuman plugin(s) and content alongside it - so it builds like 635 files/units/object/whatever it is instead of like 6 or 7. I wonder if that has something to do with it. Note that this project was migrated between 5.5 to 5.6 Preview and then to 5.6 full.
In the worst case scenario I will attempt to migrate the game code and all to a completely brand-new project and see if I get the same result.