APEX Clothing Crash

Helghast
Mon, 16 Oct 2017 12:51:06 +0000
World Creation

We are using an old UE4 version (4.8.3), but a little custom (playfab, scaleform, charactermovementcomponent, replication, etc).
The problem is that UE4 crashes sometimes when testing the game in LAN (client-server) (not in shipping build) with certain characters that use cloth in some skins and hairstyles.

We use Physx 3.3 and APEX 1.3 to export.

Normally, UE4 crashes and the call stack only shows APEX_ClothingPROFILE_x64.dll:

In the Cliente side log output it shows many alerts of an invalid scale and exorbitant float values:

If we remove all the apex files except from the hairstyles, UE4 crashes in the character’s hairstyle USkeletalMeshComponent class. Just in the UpdateClothTransform function:

Within USkeletalMeshComponent::UpdateClothTransform, NxParameterized::Interface* ActorDesc is null. So when calling NxParameterized::setParamMat44(*Actor, …) UE4 crashes again:

Any advice?
Any solution other than updating to more current version of the engine? For example, update just a certain part of the code?

Thx folks!

1 post - 1 participant