VPhysics-Jolt icon indicating copy to clipboard operation
VPhysics-Jolt copied to clipboard

Map compilers can't access surface prop interface

Open PiMoNFeeD opened this issue 1 year ago • 0 comments

Map compilers (and potentially something else) don't use CBaseAppSystem::QueryInterface to load the interfaces, instead they directly load the DLL and then call CreateInterface from it to retrieve the surface prop interface, which results in it trying to look for one in the wrapper (vphysics.dll) instead of the actual physics DLL, which causes map compilers to crash, because the wrapper doesn't have that Affected interfaces are VPHYSICS_COLLISION_INTERFACE_VERSION and VPHYSICS_SURFACEPROPS_INTERFACE_VERSION

PiMoNFeeD avatar Feb 14 '23 20:02 PiMoNFeeD