# Packaging Error: Non-editor build cannot depend on non-redistributable modules (MessageLog)

**URL:** <https://forums.unrealengine.com/t/packaging-error-non-editor-build-cannot-depend-on-non-redistributable-modules-messagelog/2546201>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [June 8, 2025, 1:49am UTC](https://forums.unrealengine.com/t/packaging-error-non-editor-build-cannot-depend-on-non-redistributable-modules-messagelog/2546201 "2025-06-08T01:49:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RCE\_WillPimentel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rce_willpimentel/32/960936_2.png) [@RCE\_WillPimentel](https://forums.unrealengine.com/u/RCE_WillPimentel)\
**Post date:** [June 8, 2025, 1:49am UTC](https://forums.unrealengine.com/t/packaging-error-non-editor-build-cannot-depend-on-non-redistributable-modules-messagelog/2546201/1 "2025-06-08T01:49:44Z")

</div>

Hello, I’m attempting to package my game for a quick test. Here’s the error I’m getting:

```auto
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**

```auto
// 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**

```auto
// 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**

```auto
// 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** ):

```auto
{
	"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.

---

<div class="post-metadata">

**Author:** ![yetmax](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yetmax](https://forums.unrealengine.com/u/yetmax)\
**Post date:** [June 11, 2025, 8:49am UTC](https://forums.unrealengine.com/t/packaging-error-non-editor-build-cannot-depend-on-non-redistributable-modules-messagelog/2546201/2 "2025-06-11T08:49:35Z")

</div>

I believe this issue to be a bug in MetaHuman. See more in this reply to another forum post about the exact same issue:

> [@Error packaging my UE5.6 project that uses metahuman](https://forums.unrealengine.com/t/error-packaging-my-ue5-6-project-that-uses-metahuman/2549977/3):
>
> In my opinion, this appears to be a bug in the MetaHumans plugin. In a nutshell, the offending module, DNACalibModule, is a runtime module, but it incorrectly always lists as a dependency the module MessageLog, which is an editor module. This can be seen in Engine\Plugins\Animation\DNACalib\DNACalib.uplugin, line 33, where the plugin’s type is declared as “Runtime”. However, if we go to Engine\Plugins\Animation\DNACalib\Source\DNACalibModule\DNACalibModule.Build.cs, line 16, we see that it lis…

---

<div class="post-metadata">

**Author:** ![ZyLogic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZyLogic](https://forums.unrealengine.com/u/ZyLogic)\
**Post date:** [September 6, 2025, 1:09pm UTC](https://forums.unrealengine.com/t/packaging-error-non-editor-build-cannot-depend-on-non-redistributable-modules-messagelog/2546201/3 "2025-09-06T13:09:46Z")

</div>

For reference:

This was resolved in 5.6.1. If you’re on Source 5.6.0, you can cherry pick and implement the following CL:

Everyone else, update to 5.6.1 via the Launcher

[https://github.com/EpicGames/UnrealEngine/commit/b09870964b8ebf1cc6ff07762a111b011b947e75](https://github.com/EpicGames/UnrealEngine/commit/b09870964b8ebf1cc6ff07762a111b011b947e75)
