-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Bug: DX3D12 crash in Debug mode #3176
Comments
Provide full stack. |
EDIT: EDIT 2: |
There is bug in those validation layers. So you can disable validation and it will work. Here:
|
I see. Yeah, I can see that this change here makes D3D12 in debug mode completely crash: Line 839 in 17f7730
It seems that this fix broke D3D12 completely in debug mode. |
That fix was introduced 3 years ago. Don't assume that things are static... And bug is inside D3D12, not bgfx, this was work around another issue. 436b7fa#diff-001017d02e7808ecc953fdb7b17a87e856a26ba6a3b153dd10dcfee90b60f011 |
Ah, yes. Not making any assumptions. Just observing that rolling back the fix makes Debug work fine. |
Hi!
The discord server can be reached here: discord.gg/directx I went there and asked about the status of the bug '26131261' here is the reply:
From their reply it seems the bug has been fixed, so these lines can be reverted from:
to:
|
Describe the bug
bgfx crashes in Debug mode when using DX3D12.
Crash log is:
Exception: Exception 0xc0000409 encountered at address 0x7ffd0164f61e (ucrtbase.dll)
This issue is related to #3059 which for some reason was erroneously disregarded as not a bug and moved to discussions as a question. This is most certainly, however, a bug.
To Reproduce
Steps to reproduce the behavior:
init.type = bgfx::RendererType::Direct3D12;
Expected behavior
It should work both in Release & Debug
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Windows, Nvidia RTX 4090 with latest drivers bgfx from master branch.
The text was updated successfully, but these errors were encountered: