Closed Xan05 closed 5 years ago
I'm using the DVD version. Same issue with the file you posted.
The error message:
UT2004 Build UT2004Build[2005-11-23_16.22]
OS: Windows NT 6.1 (Build: 7601) CPU: GenuineIntel PentiumPro-class processor @ 3410 MHz with 4095MB RAM Video: NVIDIA GeForce GTX 1060 6GB (9836)
General protection fault!
History: SetViewport <- UD3DRenderDevice::Lock <- UViewport::Lock <- UWindowsViewport::Lock <- UGameEngine::Draw <- UWindowsViewport::Repaint <- UWindowsClient::Tick <- ClientTick <- UGameEngine::Tick <- Level Untitled <- UpdateWorld <- MainLoop <- FMallocWindows::Free <- FMallocWindows::Realloc <- 10910191 0 FArray <- FArray::Realloc <- 0*2 <- FMallocWindows::Free
This sounds like pCurrentRenderTarget
is destroyed when leaving the game and upon reentering d3d8to9 tries to access that in D3D8Device::SetViewport
(since it is not nullptr) which crashes. We probably need to set pCurrentRenderTarget
to nullptr in D3D8Device::Reset
.
We probably need to set pCurrentRenderTarget to nullptr in D3D8Device::Reset.
That sounds logical IMO.
Issue fixed with the new version.
I've been using this tool with UT2004 without any issues up to 1.8.0, but 1.9.0 broke switching out of the game, as it now crashes with an error message upon reentering the game. Win7 x64, GTX 1060 398.36.