NVIDIA GameWorks Integration

@**0lento: **Compie Gamework 4.21 + Wavework with TrueSky Plugin give me this error, i tried it with source build 4.21.2 from epic games and it can complie,
How can I fix it?? If you can let me know, thank you!

2>  [1/1] UE4Editor-TrueSkyPlugin.dll
2>     Creating library K:\UnrealEngine-4.21 (2)\Engine\Plugins\TrueSkyPlugin\Intermediate\Build\Win64\UE4Editor\Development\TrueSkyPlugin\UE4Editor-TrueSkyPlugin.suppressed.lib and object K:\UnrealEngine-4.21 (2)\Engine\Plugins\TrueSkyPlugin\Intermediate\Build\Win64\UE4Editor\Development\TrueSkyPlugin\UE4Editor-TrueSkyPlugin.suppressed.exp
2>Module.TrueSkyPlugin.cpp.obj : error LNK2019: unresolved external symbol "public: void __cdecl FD3D12CommandListHandle::AddUAVBarrier(class FD3D12Resource *)" (?AddUAVBarrier@FD3D12CommandListHandle@@QEAAXPEAVFD3D12Resource@@@Z) referenced in function "public: static void __cdecl FD3D12DynamicRHI::TransitionResourceWithTracking(class FD3D12CommandListHandle &,class FD3D12Resource *,enum D3D12_RESOURCE_STATES,unsigned int)" (?TransitionResourceWithTracking@FD3D12DynamicRHI@@SAXAEAVFD3D12CommandListHandle@@PEAVFD3D12Resource@@W4D3D12_RESOURCE_STATES@@I@Z)
2>K:\UnrealEngine-4.21 (2)\Engine\Plugins\TrueSkyPlugin\Binaries\Win64\UE4Editor-TrueSkyPlugin.dll : fatal error LNK1120: 1 unresolved externals
2>UnrealBuildTool : error : UBT ERROR: Failed to produce item: K:\UnrealEngine-4.21 (2)\Engine\Plugins\TrueSkyPlugin\Binaries\Win64\UE4Editor-TrueSkyPlugin.dll
2>                        (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
2>Total build time: 73.57 seconds (Parallel executor: 0.00 seconds)
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
2>Done building project "UE4.vcxproj" -- FAILED.

I checked. This problem with stock hairworks samples too.

We really hope for your help.
Thank you so much.

@WindyStrife I don’t think I have active access to TrueSky anymore but step one in trying to solve that would be to see where this function actually is now:

 error LNK2019: unresolved external symbol "public: void __cdecl FD3D12CommandListHandle::AddUAVBarrier(class FD3D12Resource *)"

So it is possible!

Have you made any progress? I have a project using hairworks on 4.21 and would love to update it!

I know that we can use the GameWorks branches in commercial games, but I’m wondering about attribution and licensing fees/royalties. I am a developer, but going out on my own now. With all of the different licenses and such involved, what must I know so that I am compliant when I reveal, advertise, raise funds for, and release, etc… my game? Thanks in advance.

Posted this in the issues list on github, but though maybe it’s more appropriate to ask here.

Is there a way to make HairWorks work in UE 4.22 or UE 4.23?

i’m interested in 4.23 build too :\

where is compile source of hairworks 4.23 or 4.24 official because epic give shave plugin for hairworks this

Hi, I’m sorry to complain, but I have about 75 to 100 errors while building UE4 with Nvidia Physx Flex. I’m using VS2017, with the 2015 toolkit, the Flex branch is 4.19, but I also tried 4.17 and both end up with the same problems. I also tried to build it with vs2015, and still no success. I also tried to build a clean UE4 release version and it builds itself without any error/warning. I have also changed VC++ Directories to inherit from the parent. but it only decreased the number of errors from 150 to 75. I will be super glad if someone would be able to help me with it. Below I print the screen of some errors.


Can you try my branch?…PR-FleX-4.19.2. This branch used to build fine with VS2017 and has build fixes that are not present in the NvPhysX’s branch. I made a PR for the fixes but Nvidia ignored it this time around (they accepted some similar PR I sent earlier), I’m guessing relevant people are just not following the PR’s at all.

There’s also 4.21 port here: (credit to trashbyte for the 4.21 fixes).

Is there any news about Physx4 in UE4?

Btw, tried the isaac sim mentioned above, it comes with PhysX 4 instead of 3. So I built the engine (without the demo itself) and changed the solver to the new TGS solver, and it works.
Well, it’s kinda unstable, but it solves constraints much better at first glance

Check the video here:…46388760207360

@WindyStrife - Did you find a workaround ?

any person update hairworks in 4.24

If it doesn’t have to be HairWorks specifically, have you tried TressFX? TressFX Hair For Unreal [Release, Open Source] - Unreal Engine Forums
I think their version is based on 4.23 atm.

we download branch and compile visual studio 2019 but error we try other branch 4.24 or 4.23 but visual studio 2019 every time error any idea

I managed to build their TressFX integration but the engine is still a bit unstable and I think it has something to do with Tressfx shader and Planar Reflection activated, I’m still trying to figure it out. Visually, Hairworks still looks and performs better than TressFX on my rig. Hopefully someone will manage to port Hairworks to 4.23 or 4.24.

I would be forever grateful! :smiley:

I managed to successfully build their TressFX integration with Visual Studio 2017. Have you tried building it with this version? :slight_smile:

hairworks look realistic

hello everybody !! are there any updated on whether if and when we’ll see Gameworks in 4.23 ??
I’m itchyyy