dpjudas / UT99VulkanDrv

Vulkan, Direct3D 11 and Direct3D 12 renderer for Unreal Tournament (UT99)
Other
76 stars 8 forks source link

DX11 renderer crashes on startup #36

Closed U99c closed 4 months ago

U99c commented 4 months ago

DX11 renderer 2.21 UT v469d Radeon 5700XT driver 23.12.1 Windows 10

Problem: The game will crash on startup (while the splash window is open) when using the mouse buttons, producing the following error:


Critical Error

Assertion failed: RenDev [File:C:\GameDev\UnrealTournament\WinDrv\SrcWinViewPort.cpp][Line:428]

History: UWindowsViewport::OpenWindow <- UGameEngine::Init <- InitEngine

More information: Because UT takes some time to load, I usually navigate away from the splash screen to do something until loading is completed. When I attempt to do so using your DX11 renderer and whilst pressing buttons on the mouse, the game will reliably crash.

I can cofirm the following:

a) the crash happens when I'm using my mouse (too much? Unsure of specific buttons, combinations, or hold lengths)

b) the game did not crash when I was spamming keyboard keys

c) watching a video in VLC from the same computer concurrently does not affect crash rate on game start

d) having another game running in the background does not affect the crash rate

I have never experienced a startup crash when using any common renderer, e.g. cwdonahl's DX9 and opengl renderers, the default renderer, or darknovismc's DX11 renderer.

Would love to see this fixed, as otherwise your DX11 renderer is the best I've used.

Thanks

dpjudas commented 4 months ago

Fixed this and uploaded a new version. If it doesn't fix the issue please reopen the ticket. :)