Description

If #define PHYSX_MEMORY_STATS 0 is set to 1, the Engine will not build successfully. The build fails with the message: error C2338: FPhysXAllocationHeader size must be less than 16 bytes.

Steps to Reproduce
  1. Open the PhysXSupport.h` file in Visual Studio.
  2. Change the #define PHYSX_MEMORY_STATS 0 line to #define PHYSX_MEMORY_STATS 1.
    • Line 21 in CL 2471062.
  3. Start building the Engine in Visual Studio.

RESULTS:
The Engine fails to build in Visual Studio with the error message: error C2338: FPhysXAllocationHeader size must be less than 16 bytes.

EXPECTED:
The Engine builds successfully.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Simulation - Physics
Affects Versions4.7.24.8
Target Fix4.9
Fix Commit2532066
CreatedMar 9, 2015
ResolvedMay 4, 2015
UpdatedApr 27, 2018