"Debug assertion failed!" Game crashes as soon as i press play.

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Elegant_
Posts: 1
Joined: 2022-12-26 16:39

"Debug assertion failed!" Game crashes as soon as i press play.

Post by Elegant_ »

Hello. I installed PR in a new computer, it's old but it works. The thing is that after installing it, launching the game and creating a local server to practice, my game crashes inmediately. An error window pops out and says:

Error.

Debug assertion failed!

Version: 1.7.4.2

Module: Ra

File: C:/Projects/BF"Branches/Patch_1_50/code/BF"RendDX9/Ra/RaShaderPermutator.cpp

Line: 574

Text: failed to load D3DX9d_24.dll, we need this to avoid the April 2005 DxSDK bug(recursive call on parsing some .fx files (skinnedmesh.fx)

Current confile:

--------

Help. I tried to fix the issue by installing a package named VC redist, which was posted by a dev, but it hasn't fixed my problem. Can anyone give me a hand?


UPDATE: I just found a solution, you gotta download the .dll that the error box's telling you it's missing and once you've downloaded it, just place it in your PR folder. That's it.
Last edited by Elegant_ on 2023-05-07 22:09, edited 1 time in total.
Reason: Fix found, no help needed. Tho i think this can be useful for someone else, so i won't delete the post.
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: "Debug assertion failed!" Game crashes as soon as i press play.

Post by Mats391 »

Please do not download random DLLs from the internet. Just re-install DirectX 9 that should install the needed DLL.
Image

Mineral: TIL that Wire-guided missiles actually use wire
Post Reply

Return to “PR:BF2 Support”