# Building UE 4.27 fails due to missing Physx headers on Microsoft Windows

**URL:** <https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568>\
**Category:** World Creation\
**Tags:** windows, physx, unreal-engine, GitHub, Physics, Visual-Studio, question, CPP\
**Created:** [June 8, 2021, 4:56pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568 "2021-06-08T16:56:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![NuLL3rr0r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NuLL3rr0r](https://forums.unrealengine.com/u/NuLL3rr0r)\
**Post date:** [June 8, 2021, 4:56pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/1 "2021-06-08T16:56:58Z")

</div>

![340962-screenshot-2021-06-08-10-55-11-547552872.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/6/d56eef2226d1af332d836e52224cd91f314e2567.png)

At first, it complains about some missing Physix headers e.g.:  
Severity Code Description Project File Line Suppression State  
Error (active) E1696 cannot open source file “Px.h” UE4 C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Public\PhysXIncludes.h 41

Then it gives the following errors:

Severity Code Description Project File Line Suppression State  
Error C2232 ‘-\>TUniquePtr\<FPhysicsMaterialHandle,TDefaultDelete\>::IsValid’: left operand has ‘class’ type, use ‘.’ UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 103   
Error C2232 ‘-\>TUniquePtr\<FPhysicsMaterialHandle,TDefaultDelete\>::IsValid’: left operand has ‘class’ type, use ‘.’ UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 106   
Error C3668 ‘AActor::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\GameFramework\Actor.h 2912   
Error C3668 ‘AActor::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\GameFramework\Actor.h 2912   
Error C3861 ‘CreateMaterial’: identifier not found UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 105   
Error C2065 ‘FAsyncPreRegisterDDCRequest’: undeclared identifier UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\World.h 1649   
Error C2065 ‘FAsyncPreRegisterDDCRequest’: undeclared identifier UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\World.h 1649   
Error C2504 ‘FChaosEngineInterface’: base class undefined UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Public\Physics\PhysicsInterfacePhysX.h 173   
Error C2504 ‘FChaosEngineInterface’: base class undefined UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Public\Physics\PhysicsInterfacePhysX.h 173   
Error C2653 ‘FChaosEngineInterface’: is not a class or namespace name UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 92   
Error C2653 ‘FChaosEngineInterface’: is not a class or namespace name UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 105   
Error C2653 ‘FChaosEngineInterface’: is not a class or namespace name UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 108   
Error C2653 ‘FChaosEngineInterface’: is not a class or namespace name UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 109   
Error C2582 ‘operator =’ function is unavailable in ‘FPhysicsMaterialHandle\_PhysX’ UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 105   
Error C3861 ‘ReleaseMaterial’: identifier not found UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 92   
Error C3861 ‘SetUserData’: identifier not found UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 108   
Error C2923 ‘TSharedPtr’: ‘FAsyncPreRegisterDDCRequest’ is not a valid template type argument for parameter ‘ObjectType’ UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\World.h 1649   
Error C2923 ‘TSharedPtr’: ‘FAsyncPreRegisterDDCRequest’ is not a valid template type argument for parameter ‘ObjectType’ UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\World.h 1649   
Error C2976 ‘TSharedPtr’: too few template arguments UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\World.h 1649   
Error C2976 ‘TSharedPtr’: too few template arguments UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\World.h 1649   
Error C3203 ‘TSharedPtr’: unspecialized class template can’t be used as a template argument for template parameter ‘InElementType’, expected a real type UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\World.h 1649   
Error C3203 ‘TSharedPtr’: unspecialized class template can’t be used as a template argument for template parameter ‘InElementType’, expected a real type UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\World.h 1649   
Error C3668 ‘UActorComponent::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Components\ActorComponent.h 375   
Error C3668 ‘UActorComponent::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Components\ActorComponent.h 375   
Error C3668 ‘UAnimInstance::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Animation\AnimInstance.h 1285   
Error C3668 ‘UAnimNotify::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Animation\AnimNotifies\AnimNotify.h 94   
Error C3668 ‘UCurveBase::PostEditChangeProperty’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Curves\CurveBase.h 82   
Error C3668 ‘UCurveBase::PostEditChangeProperty’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Curves\CurveBase.h 82   
Error C3668 ‘ULevel::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\Level.h 757   
Error C3668 ‘ULevel::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\Level.h 757   
Error C3668 ‘ULocalPlayer::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\LocalPlayer.h 277   
Error C3668 ‘UNetConnection::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\NetConnection.h 814   
Error C3668 ‘UNetDriver::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\NetDriver.h 1486   
Error C3861 ‘UpdateMaterial’: identifier not found UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 109   
Error C3668 ‘USoundEffectSourcePresetChain::PostEditChangeProperty’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Sound\SoundEffectSource.h 62   
Error C3668 ‘USoundEffectSourcePresetChain::PostEditChangeProperty’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Sound\SoundEffectSource.h 62   
Error C3668 ‘UWorld::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\World.h 2563   
Error C3668 ‘UWorld::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine\World.h 2563   
Error C3668 ‘UWorldSubsystem::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Public\Subsystems\WorldSubsystem.h 24   
Error C3668 ‘UWorldSubsystem::GetWorld’: method with override specifier ‘override’ did not override any base class methods UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\Engine\Public\Subsystems\WorldSubsystem.h 24   
Error C2664 ‘void FChaosEngineInterface::CreateActor(const FActorCreationParams &,FPhysicsActorHandle &)’: cannot convert argument 2 from ‘Chaos::TGeometryParticle\<float,3\> \*’ to ‘FPhysicsActorHandle &’ HeadlessChaos C:\OPT\UnrealEngine\Engine\Source\Programs\HeadlessChaos\Private\HeadlessChaosTestPhysicsScene.cpp 1377   
Error C2664 ‘void FChaosScene::AddActorsToScene\_AssumesLocked(TArray\<FSingleParticlePhysicsProxy \*,FDefaultAllocator\> &,const bool)’: cannot convert argument 1 from ‘TArray\<Chaos::FGeometryParticle \*,FDefaultAllocator\>’ to ‘TArray\<FSingleParticlePhysicsProxy \*,FDefaultAllocator\> &’ HeadlessChaos C:\OPT\UnrealEngine\Engine\Source\Programs\HeadlessChaos\Private\HeadlessChaosTestPhysicsScene.cpp 1395   
Error C1083 Cannot open include file: ‘ShaderCompiler.h’: No such file or directory UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\NetworkFileSystem\Public\INetworkFileSystemModule.h 7   
Error C1083 Cannot open include file: ‘TextureResource.h’: No such file or directory UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\SlateNullRenderer\Private\SlateNullRendererModule.cpp 12   
Error MSB3073 The command “…\Build\BatchFiles\Build.bat HeadlessChaos Win64 Development -WaitMutex -FromMsBuild” exited with code 6. HeadlessChaos C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 46   
Error MSB3073 The command “…\Build\BatchFiles\Build.bat UnrealFileServer Win64 Development -WaitMutex -FromMsBuild” exited with code 6. UnrealFileServer C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 46   
Error C2027 use of undefined type ‘FPhysicsMaterialHandle\_PhysX’ UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 103   
Error C2027 use of undefined type ‘FPhysicsMaterialHandle\_PhysX’ UnrealFileServer C:\OPT\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\PhysicalMaterial.cpp 106

---

<div class="post-metadata">

**Author:** ![imnomad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@imnomad](https://forums.unrealengine.com/u/imnomad)\
**Post date:** [June 15, 2021, 3:34pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/2 "2021-06-15T15:34:34Z")

</div>

I’m having the same issue with building UE5.

---

<div class="post-metadata">

**Author:** ![patlj09](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patlj09](https://forums.unrealengine.com/u/patlj09)\
**Post date:** [July 24, 2021, 12:19pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/3 "2021-07-24T12:19:51Z")

</div>

I’m also getting errors when trying to compile on Windows 10, Win64, Dev Editor, but from Chaos and stuff…

origin/4.27, latest commit 2021-07-21. sha: acb99cb9fcff4b1952aeb196093819f76c952412

```
Severity	Code	Description	Project	File	Line	Suppression State
Error	C2664	'void FChaosEngineInterface::CreateActor(const FActorCreationParams &,FPhysicsActorHandle &)': cannot convert argument 2 from 'Chaos::TGeometryParticle<float,3> *' to 'FPhysicsActorHandle &'	HeadlessChaos	D:\Code\UnrealEngine\Engine\Source\Programs\HeadlessChaos\Private\HeadlessChaosTestPhysicsScene.cpp	1377	
Error (active)	E0434	a reference of type "FPhysicsActorHandle &" (not const-qualified) cannot be initialized with a value of type "Chaos::TGeometryParticle<float, 3> *"	HeadlessChaos	D:\Code\UnrealEngine\Engine\Source\Programs\HeadlessChaos\Private\HeadlessChaosTestPhysicsScene.cpp	1377	
Error (active)	E0434	a reference of type "TArray<FPhysicsActorHandle, FDefaultAllocator> &" (not const-qualified) cannot be initialized with a value of type "TArray<Chaos::FGeometryParticle *, FDefaultAllocator>"	HeadlessChaos	D:\Code\UnrealEngine\Engine\Source\Programs\HeadlessChaos\Private\HeadlessChaosTestPhysicsScene.cpp	1395	
Error (active)	E1574	static assertion failed with "TAtomic is only usable with trivial types"	HeadlessChaos	D:\Code\UnrealEngine\Engine\Source\Runtime\Core\Public\Templates\Atomic.h	543	
Warning The referenced component 'MobileDeviceInterface' could not be found.	AutomationTool			
Error	C2664	'void FChaosScene::AddActorsToScene_AssumesLocked(TArray<FSingleParticlePhysicsProxy *,FDefaultAllocator> &,const bool)': cannot convert argument 1 from 'TArray<Chaos::FGeometryParticle *,FDefaultAllocator>' to 'TArray<FSingleParticlePhysicsProxy *,FDefaultAllocator> &'	HeadlessChaos	D:\Code\UnrealEngine\Engine\Source\Programs\HeadlessChaos\Private\HeadlessChaosTestPhysicsScene.cpp	1395	

```

…

 ![344792-win64-ue-builderrors.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/c/3/ac3f50a868e13e1bf637a5e8a64c5e827329e83a.png)

---

<div class="post-metadata">

**Author:** ![weyniez](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@weyniez](https://forums.unrealengine.com/u/weyniez)\
**Post date:** [August 16, 2021, 11:12am UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/4 "2021-08-16T11:12:15Z")

</div>

I’m having the same issue. Did either of you figure out what the problem was?

---

<div class="post-metadata">

**Author:** ![NuLL3rr0r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NuLL3rr0r](https://forums.unrealengine.com/u/NuLL3rr0r)\
**Post date:** [August 16, 2021, 11:24am UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/5 "2021-08-16T11:24:08Z")

</div>

I switched to ue5-main branch and it builds fine on Windows. I skipped 4.27 for good.

---

<div class="post-metadata">

**Author:** ![DanathMorrin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/danathmorrin/32/592574_2.png) [@DanathMorrin](https://forums.unrealengine.com/u/DanathMorrin)\
**Post date:** [August 21, 2021, 8:16am UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/6 "2021-08-21T08:16:53Z")

</div>

Having the same issue when compiling 4.27 release.  
Any ideas how to fix?

 ![346872-427-build-error.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/b/bebc16417b5772221a1474fba2b796b34316dcdb.png)

---

<div class="post-metadata">

**Author:** ![Wayne\_Koorts](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wayne_koorts/32/713752_2.png) [@Wayne\_Koorts](https://forums.unrealengine.com/u/Wayne_Koorts)\
**Post date:** [August 22, 2021, 3:09am UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/7 "2021-08-22T03:09:00Z")

</div>

Exact same errors for me after upgrading my source to 4.27.

---

<div class="post-metadata">

**Author:** ![GlenAJohnsonJr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GlenAJohnsonJr](https://forums.unrealengine.com/u/GlenAJohnsonJr)\
**Post date:** [August 23, 2021, 5:25pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/8 "2021-08-23T17:25:36Z")

</div>

I also am experiencing this same issue.

---

<div class="post-metadata">

**Author:** ![olivierJT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/olivierjt/32/1194659_2.png) [@olivierJT](https://forums.unrealengine.com/u/olivierJT)\
**Post date:** [August 25, 2021, 9:07pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/9 "2021-08-25T21:07:45Z")

</div>

Exact same errors.  
VS 2017  
15.9.18 updated to 15.9.38 same.

---

<div class="post-metadata">

**Author:** ![olivierJT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/olivierjt/32/1194659_2.png) [@olivierJT](https://forums.unrealengine.com/u/olivierJT)\
**Post date:** [August 26, 2021, 2:18pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/10 "2021-08-26T14:18:52Z")

</div>

**Fixed it today!**

Using VS 2017  
I updated to the latest 15.9.38 _(thought that alone didn’t help)_

**I was missing** a _(new?)_ requirement **"NuGet Package Manger"**  
As stated here:  
[https://github.com/EpicGames/UnrealEngine](https://github.com/EpicGames/UnrealEngine)  
I had installed before a “Nuget targets and build tasks” but not the “NuGet Package Manger”

**How to?**  
Go to: **C:\Program Files (x86)\Microsoft Visual Studio\Installer and launch vs\_installer.exe**  
Go to modify and then “individual components”  
Check “Nuget package manager”  
_(in My case for I have also the “Nuget targets and build tasks” checked)_ Unsure why it’s been a while.

_Extra optional_ (not sure it did something) but I also updated my Window Kit.  
It usually comes with VS installation though.

> **[Windows SDK - Windows app development](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/)**
>
> The Windows SDK for Windows 11 contains headers, libraries, and tools you can use when you create apps that run on Windows.

The last one is the one that comes with VS2019  
_I don’t thing it’s a required step._

Rebooted after all that of course _(it may help)_

It then built without any errors.

---

<div class="post-metadata">

**Author:** ![NuLL3rr0r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NuLL3rr0r](https://forums.unrealengine.com/u/NuLL3rr0r)\
**Post date:** [August 26, 2021, 2:30pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/11 "2021-08-26T14:30:41Z")

</div>

Could you please checkout @olivierJT 's answer and let us know if it works for you?

---

<div class="post-metadata">

**Author:** ![NuLL3rr0r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NuLL3rr0r](https://forums.unrealengine.com/u/NuLL3rr0r)\
**Post date:** [August 26, 2021, 2:32pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/12 "2021-08-26T14:32:29Z")

</div>

Could you please checkout @olivierJT 's answer and let us know if it works for you? In case it works I’ll accept it as an answer for anyone else coming across this.

---

<div class="post-metadata">

**Author:** ![NuLL3rr0r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NuLL3rr0r](https://forums.unrealengine.com/u/NuLL3rr0r)\
**Post date:** [August 26, 2021, 2:32pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/13 "2021-08-26T14:32:56Z")

</div>

Could you please checkout @olivierJT 's answer and let us know if it works for you? In case it works I’ll accept it as an answer for anyone else coming across this.

---

<div class="post-metadata">

**Author:** ![DanathMorrin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/danathmorrin/32/592574_2.png) [@DanathMorrin](https://forums.unrealengine.com/u/DanathMorrin)\
**Post date:** [August 26, 2021, 10:56pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/16 "2021-08-26T22:56:50Z")

</div>

I had NuGet Package Manger already installed.  
Installing Windows SDK didn’t help either.  
The problem is still there. Nothing changed.

---

<div class="post-metadata">

**Author:** ![color\_working](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@color\_working](https://forums.unrealengine.com/u/color_working)\
**Post date:** [August 27, 2021, 12:54am UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/17 "2021-08-27T00:54:49Z")

</div>

Fix it by install “ **Nuget targets and build tasks** ” by Visual Studio Installer. (I had NuGet Package Manger already installed)

Using Visual Sudio 2019 and Windows SDK 10.0.18362.0

 ![347441-snipaste-2021-08-27-08-53-27.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/c/2/bc254f958cd325ad63b650e3f771ec7efe819a88.png)

---

<div class="post-metadata">

**Author:** ![Wayne\_Koorts](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wayne_koorts/32/713752_2.png) [@Wayne\_Koorts](https://forums.unrealengine.com/u/Wayne_Koorts)\
**Post date:** [August 27, 2021, 1:10am UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/18 "2021-08-27T01:10:34Z")

</div>

I already had Nuget and build tools installed (I do a lot of C# development too). FWIW I also installed the newer version of the Windows SDK. No improvement for me, same errors unfortunately.

---

<div class="post-metadata">

**Author:** ![DanathMorrin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/danathmorrin/32/592574_2.png) [@DanathMorrin](https://forums.unrealengine.com/u/DanathMorrin)\
**Post date:** [September 3, 2021, 9:48am UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/19 "2021-09-03T09:48:54Z")

</div>

“Nuget targets and build tasks” didn’t help with VS 2017.  
May be we need to try your configuration of Visual Sudio 2019 + WinSDK 10.0.18362.0.  
Last time I did it for 4.26, but I couldn’t build the Engine from source with VS 2019. The same 4.26 build with VS 2017 was OK. May be now it’s opposite situation.  
It’s strange that nothing told about it in the documentation. It’s ritten in p.2 “Install Visual Studio 2017”.  
Silent VS 2019 migration?

---

<div class="post-metadata">

**Author:** ![Wayne\_Koorts](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wayne_koorts/32/713752_2.png) [@Wayne\_Koorts](https://forums.unrealengine.com/u/Wayne_Koorts)\
**Post date:** [September 3, 2021, 9:48am UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/20 "2021-09-03T09:48:56Z")

</div>

Does anyone know what the 4.27-chaos branch is for? That seems to have a working version of the GTEST\_TEST in HeadlessChaosTestPhysicsScene.cpp, wherein it calls FChaosEngineInterface::CreateActor() with the expected FPhysicsActorHandle parameter as the second parameter as opposed to TGeometryParticle in the broken 4.27 version. Link to the line in question: [https://github.com/EpicGames/UnrealEngine/blob/4.27-chaos/Engine/Source/Programs/HeadlessChaos/Private/HeadlessChaosTestPhysicsScene.cpp#L1511](https://github.com/EpicGames/UnrealEngine/blob/4.27-chaos/Engine/Source/Programs/HeadlessChaos/Private/HeadlessChaosTestPhysicsScene.cpp#L1511)

---

<div class="post-metadata">

**Author:** ![Wayne\_Koorts](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wayne_koorts/32/713752_2.png) [@Wayne\_Koorts](https://forums.unrealengine.com/u/Wayne_Koorts)\
**Post date:** [September 3, 2021, 9:52am UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/21 "2021-09-03T09:52:17Z")

</div>

I’m not a C++ expert by any means but I just cannot for the life of me see a way that this function call can work. There is no overload of FChaosEngineInterface::CreateActor, enabled by macros or otherwise, which takes a TGeometryParticle as the second parameter in the release branch. I’m using a stock version of the engine, I haven’t even started building my game and the engine doesn’t build ☹ 4.26 was fine.

---

<div class="post-metadata">

**Author:** ![pjenness](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pjenness](https://forums.unrealengine.com/u/pjenness)\
**Post date:** [September 19, 2021, 11:35pm UTC](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568/22 "2021-09-19T23:35:42Z")

</div>

HIya.

Im getting issues too. Fresh cloe of 4.27 release (as of 19th Sept)  
Get this error

```
1> [45/115] Module.HeadlessChaos.4_of_5.cpp
1>V:/UnrealEngine/UE427/Engine/Source/Programs/HeadlessChaos/Private/HeadlessChaosTestPhysicsScene.cpp(1377): error C2664: 'void FChaosEngineInterface::CreateActor(const FActorCreationParams &,FPhysicsActorHandle &)': cannot convert argument 2 from 'Chaos::TGeometryParticle<float,3> *' to 'FPhysicsActorHandle &'
1> V:\UnrealEngine\UE427\Engine\Source\Runtime\PhysicsCore\Public\Chaos/ChaosEngineInterface.h(333): note: see declaration of 'FChaosEngineInterface::CreateActor'

1>V:/UnrealEngine/UE427/Engine/Source/Programs/HeadlessChaos/Private/HeadlessChaosTestPhysicsScene.cpp(1395): error C2664: 'void FChaosScene::AddActorsToScene_AssumesLocked(TArray<FSingleParticlePhysicsProxy *,FDefaultAllocator> &,const bool)': cannot convert argument 1 from 'TArray<Chaos::FGeometryParticle *,FDefaultAllocator>' to 'TArray<FSingleParticlePhysicsProxy *,FDefaultAllocator> &'
1> V:\UnrealEngine\UE427\Engine\Source\Runtime\PhysicsCore\Public\Chaos/ChaosScene.h(108): note: see declaration of 'FChaosScene::AddActorsToScene_AssumesLocked'
```

[Next page](https://forums.unrealengine.com/t/building-ue-4-27-fails-due-to-missing-physx-headers-on-microsoft-windows/484568.md?page=2)
