Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map compilers can't access surface prop interface #170

Open
PiMoNFeeD opened this issue Feb 14, 2023 · 0 comments
Open

Map compilers can't access surface prop interface #170

PiMoNFeeD opened this issue Feb 14, 2023 · 0 comments

Comments

@PiMoNFeeD
Copy link
Contributor

PiMoNFeeD commented Feb 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant