# Unreal Engine 5.2.0 Package Error

**URL:** <https://forums.unrealengine.com/t/unreal-engine-5-2-0-package-error/1140455>\
**Category:** Platform & Builds\
**Tags:** Packaging-Error, unreal-engine\
**Created:** [April 25, 2023, 11:49am UTC](https://forums.unrealengine.com/t/unreal-engine-5-2-0-package-error/1140455 "2023-04-25T11:49:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fehmi\_ozsargin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fehmi\_ozsargin](https://forums.unrealengine.com/u/fehmi_ozsargin)\
**Post date:** [April 25, 2023, 11:49am UTC](https://forums.unrealengine.com/t/unreal-engine-5-2-0-package-error/1140455/1 "2023-04-25T11:49:06Z")

</div>

Hello, I am getting an error while building the project.

PackagingResults: Error: Non-editor build cannot depend on non-redistributable modules. C:\Users\Legion\Documents\Unreal Projects\LivingRoom\Binaries\Win64\LivingRoom-Win64-Shipping.exe depends on ‘ProfileVisualizer’.

I imported the models inside the project with datasmith.  
Build.cs:  
using UnrealBuildTool;

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

```
	PrivateDependencyModuleNames.Add("Core");
	PrivateDependencyModuleNames.Add("Core");
}

```

}

Target.cs:  
using UnrealBuildTool;

public class LivingRoomTarget : TargetRules  
{  
public LivingRoomTarget(TargetInfo Target) : base(Target)  
{  
DefaultBuildSettings = BuildSettingsVersion.V2;  
Type = TargetType.Game;  
ExtraModuleNames.Add(“LivingRoom”);  
}  
}

How can I resolve this error?

---

<div class="post-metadata">

**Author:** ![EsmeraldaQuinter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EsmeraldaQuinter](https://forums.unrealengine.com/u/EsmeraldaQuinter)\
**Post date:** [July 5, 2023, 3:54pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-2-0-package-error/1140455/2 "2023-07-05T15:54:18Z")

</div>

Here they mention that disabled data smith could help.

> [@UE 5.2 packaging error](https://forums.unrealengine.com/t/ue-5-2-packaging-error/1137865/3):
>
> Datasmith plugins depend somehow on profilevisualizer? Disabling these helped.
