# Error in "shipping" packaging

**URL:** <https://forums.unrealengine.com/t/error-in-shipping-packaging/1910610>\
**Category:** C++\
**Tags:** Shipping, unreal-engine, build-failed, question\
**Created:** [June 20, 2024, 6:38pm UTC](https://forums.unrealengine.com/t/error-in-shipping-packaging/1910610 "2024-06-20T18:38:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Porkoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Porkoss](https://forums.unrealengine.com/u/Porkoss)\
**Post date:** [June 20, 2024, 6:38pm UTC](https://forums.unrealengine.com/t/error-in-shipping-packaging/1910610/1 "2024-06-20T18:38:07Z")

</div>

Unable to package project in shipping config.  
I have tried a lot of things and it still does not works.  
The problem comes from here.  
Unable to instantiate module ‘UnrealEd’: Unable to instantiate UnrealEd module for non-editor targets.  
(referenced via Target → RuneMageSurvivor.Build.cs → GameProjectGeneration.Build.cs → HardwareTargeting.Build.cs)

I have no clue how to prevent the call to UnrealEd, it is not in the uproject  
{  
“FileVersion”: 3,  
“EngineAssociation”: “5.3”,  
“Category”: “”,  
“Description”: “”,  
“Modules”: [  
{  
“Name”: “RuneMageSurvivor”,  
“Type”: “Runtime”,  
“LoadingPhase”: “Default”,  
“AdditionalDependencies”: [  
“Engine”,  
“GameProjectGeneration”,  
“AIModule”,  
“CoreUObject”  
]  
}  
],  
“TargetPlatforms”: [  
“Windows”  
]  
}  
and i cannot find where i can be modified in the packaging setting in unreal engine.

(It took me a long times but it seems like i can rebuild the solution using SHIPPINg mode in visual studio) but i cannot lauch the code after.

I have no clue about what to do.

Please help me 😃  
Kind regards,

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [June 20, 2024, 7:07pm UTC](https://forums.unrealengine.com/t/error-in-shipping-packaging/1910610/2 "2024-06-20T19:07:20Z")

</div>

Check your project build file and see if UnrealEd is not in the dependency modules.

---

<div class="post-metadata">

**Author:** ![Porkoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Porkoss](https://forums.unrealengine.com/u/Porkoss)\
**Post date:** [June 20, 2024, 8:48pm UTC](https://forums.unrealengine.com/t/error-in-shipping-packaging/1910610/3 "2024-06-20T20:48:40Z")

</div>

Thanks for your answer, I’m not sure what you mean by Buid file ?  
The .build.cs in c++ ?

public class RuneMageSurvivor : ModuleRules  
{  
public RuneMageSurvivor(ReadOnlyTargetRules Target) : base(Target)  
{  
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

```
    PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "NavigationSystem", "AIModule", "Niagara", "EnhancedInput" });
}

```

}  
It does not seems to be there.

neither in target :

public class RuneMageSurvivorTarget : TargetRules  
{  
public RuneMageSurvivorTarget(TargetInfo Target) : base(Target)  
{  
Type = TargetType.Game;  
DefaultBuildSettings = BuildSettingsVersion.V4;  
IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5\_3;  
ExtraModuleNames.Add(“RuneMageSurvivor”);

```
}

```

}

but when i looked before when i was debugging the building in C++ it was like it was taking the default route and that was where the error was coming from.
