# Running a server: Failed to load module 'PxFoundationPROFILE\_x64.dll'

**URL:** <https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [December 10, 2016, 11:31pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941 "2016-12-10T23:31:15Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taurian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Taurian](https://forums.unrealengine.com/u/Taurian)\
**Post date:** [December 10, 2016, 11:31pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/1 "2016-12-10T23:31:15Z")

</div>

After packaging my game, and building the dedicated server. I get this error when trying to launch the dedicated server:

```
[2016.12.10-23.24.46:035][0]LogWindows:Error: Fatal error: [File:E:\Unreal Engine - Git\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysXLibs.cpp] [Line: 102] 
[2016.12.10-23.24.46:035][0]LogWindows:Error: Failed to load module '../../../Engine/Binaries/ThirdParty/PhysX/Win64/VS2015/PxFoundationPROFILE_x64.dll'.

```

Full log attached.

Server Log

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [December 13, 2016, 7:50pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/2 "2016-12-13T19:50:59Z")

</div>

Hey Taurian,

I’ve run through the process using a clean Third Person project and I’m not running into the same issue. Have a look at the section of the wiki I linked below and ensure that you’ve run through all of the necessary steps:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Also, I’d recommend giving it a shot in a clean project if you cannot get your project to work to see if you’re getting the same error.

Let me know if that works for you.

Have a great day

---

<div class="post-metadata">

**Author:** ![Taurian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Taurian](https://forums.unrealengine.com/u/Taurian)\
**Post date:** [December 14, 2016, 5:10pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/3 "2016-12-14T17:10:04Z")

</div>

I started up a test project. Same exact problem. I also re-downloaded and rebuilt 4.14.

Attached is the log.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [December 15, 2016, 8:31pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/4 "2016-12-15T20:31:47Z")

</div>

Try removing the space from the Other Git Projects folder. Sometimes special characters can cause strange issues with projects.

Might not make a difference, but it’s worth a try.

I’ll try one more time on my end and see if I can get the same error.

Let me know if that helps

---

<div class="post-metadata">

**Author:** ![Taurian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Taurian](https://forums.unrealengine.com/u/Taurian)\
**Post date:** [December 16, 2016, 5:46am UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/5 "2016-12-16T05:46:40Z")

</div>

No luck. I’ve removed the spaces and tried it again.

It packages, and compiles successfully but when I try to run the \*Server.exe I get the same exact error above.

I’ve gone ahead and attached the updated logs

---

<div class="post-metadata">

**Author:** ![Forrgit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Forrgit](https://forums.unrealengine.com/u/Forrgit)\
**Post date:** [December 16, 2016, 7:18pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/6 "2016-12-16T19:18:40Z")

</div>

I have same problem. Server successfully compiled and cooked, but when i run .exe file it crushed

```
Error: Fatal error: [File:D:\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysXLibs.cpp] [Line: 102] 
Error: Failed to load module '../../../Engine/Binaries/ThirdParty/PhysX/Win64/VS2015/PxFoundationCHECKED_x64.dll'.
```

---

<div class="post-metadata">

**Author:** ![Taurian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Taurian](https://forums.unrealengine.com/u/Taurian)\
**Post date:** [December 20, 2016, 3:21pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/7 "2016-12-20T15:21:58Z")

</div>

I tried on another machine, same issue. Everything builds, but we get the PhysX error above.

---

<div class="post-metadata">

**Author:** ![Taurian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Taurian](https://forums.unrealengine.com/u/Taurian)\
**Post date:** [December 20, 2016, 9:38pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/8 "2016-12-20T21:38:35Z")

</div>

Tried this with 4.14.2 – Same problem.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [December 22, 2016, 10:51pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/9 "2016-12-22T22:51:40Z")

</div>

Do you have any Antivirus software that could potentially be removing that file? I’ve seen that sort of issue occur before with load errors such as this.

---

<div class="post-metadata">

**Author:** ![Taurian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Taurian](https://forums.unrealengine.com/u/Taurian)\
**Post date:** [December 22, 2016, 10:53pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/10 "2016-12-22T22:53:41Z")

</div>

No. No antivirus. Nothing even close to that installed on any machines here.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [December 23, 2016, 3:29pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/11 "2016-12-23T15:29:02Z")

</div>

Regarding the wiki link I provided above, are you deviating from those steps at all or making any sort of changes?

I’ve tried it on my end multiple times and it seems to be working without any issue so I’m wondering if there is something that we are doing differently.

Thanks

---

<div class="post-metadata">

**Author:** ![MADHOUSE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MADHOUSE](https://forums.unrealengine.com/u/MADHOUSE)\
**Post date:** [January 28, 2017, 12:24am UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/12 "2017-01-28T00:24:31Z")

</div>

I got the same errors when trying to run the server executable with a shipping build, after building a dev build it seems to solve that issue, but I got a different error instead. Not sure if this belongs here or is related to the same issue tho. (UE 4.14.2)

]LogWindows:Error: Assertion failed: !bCheckAdded || NodeRef.bAddedToGraph [File:H:\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Public\Serialization/AsyncLoading.h] [Line: 245]

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [January 30, 2017, 4:04pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/13 "2017-01-30T16:04:29Z")

</div>

Hey MADHOUSE,

I’m not sure if that’s the same issue either, honestly. For the sake of keeping error messages separate, would you mind creating a new topic in the Bug Reports section?

Please provide as much information as possible, including repro steps, log files, callstacks, etc.

Thanks!

---

<div class="post-metadata">

**Author:** ![Miheev2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Miheev2](https://forums.unrealengine.com/u/Miheev2)\
**Post date:** [February 2, 2017, 7:01am UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/14 "2017-02-02T07:01:22Z")

</div>

MADHOUSE, I see that you have not created a new question.

But just in case I will write here, can someone come in handy.  
Specifically, my problem was that check mark (Project Settings).

It needs to be turned off.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/b/dab01e2e39af86911ba3b323ea123f63e309e923.jpeg) ](https://pp.userapi.com/c626327/v626327846/4962a/dRmidNgljiw.jpg)

Thank you all there.

---

<div class="post-metadata">

**Author:** ![MajinSephiroth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MajinSephiroth](https://forums.unrealengine.com/u/MajinSephiroth)\
**Post date:** [March 12, 2018, 8:28pm UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/15 "2018-03-12T20:28:58Z")

</div>

Tried this on the 4.17 build, got the same error.

This is a problem with the appropriate DLL’s not being packaged with the build (not sure what’s causing that to happen).

You can retrieve the DLL file from your (engine build)\Engine\Binaries\ThirdParty\PhysX\Win(architecture)\VS(version)\

Once you paste them in your (game build)\Engine\Binaries\ThirdParty\PhysX\Win(architecture)\VS(version)\ everything will be good to go.

If someone figures out what makes those files not be packaged, let me know.

---

<div class="post-metadata">

**Author:** ![Streliteela](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Streliteela](https://forums.unrealengine.com/u/Streliteela)\
**Post date:** [June 8, 2018, 9:27am UTC](https://forums.unrealengine.com/t/running-a-server-failed-to-load-module-pxfoundationprofile-x64-dll/378941/16 "2018-06-08T09:27:26Z")

</div>

I run into the same issue, and has sucessfully resolved it by updating VS2015 update2 to **update3** and reinstalling **vc\_redist.x64.exe**.
