• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Game Crashing With "RTSSHook64.dll Has Unloaded" in Event Viewer- Driver Issue, Game Issue, or RivaTuner Issue?

Joined
May 8, 2023
Messages
65 (0.09/day)
hi, I was playing Monster Hunter World with Driver Version 531.29 on my RTX 3070 which I have had installed for months, and I had MSI Afterburner w/ RivaTuner (or RTSS) active for the in-game overlay. I decided to close Afterburner and RTSS while the game was running to limit how much stuff I had open, and then when tabbing back into the game, it started to freeze up before crashing


I checked Event Viewer immediately and saw this:

1687584791671.png


you can see that it says "RTSSHooks64.dll_unloaded", and I assume this means the game kind of got messed up and crashed after shutting RivaTuner off and cancelling the on-screen display? the reason I think this is the cause, is mostly because it says RTSS in the error log, which would be RivaTuner, but also because I don't usually close MSI Afterburner while in-game, and I've had 531.29 since it came out + DDU'd in the past.

I tried replicating this crash by having MSI Afterburner and RTSS turned on before launching the game, booting it up without issue, and then tabbing out and closing both applications. I have done this a couple of times, and the game has crashed 3 times after closing these applications, tabbing back in, and running around for a 5-10 seconds. all of these incidents have the exact same error logs as the image before (with the exception of Faulting Application Start Time, which is to be expected, I imagine)


so can anyone tell me if this seems like an RTSS issue? or at least an issue with the game not handling the sudden shutdown of these apps? I've closed apps while in MHW dozens of times before, mainly HWInfo64 and had no crashes, this only seems to happen if I close MSI Afterburner, and by extension RivaTuner
 
This occurred because you closed Afterburner/RivaTuner service (therefore unloading RTSS DLL from the game). And yes, it's an issue with the game not handling a module unload correctly. My best guess is that when you alt-tabbed back in, the game attempted to generate another display context and expected a module which was no longer present, resulting in a crash.
 
This occurred because you closed Afterburner/RivaTuner service (therefore unloading RTSS DLL from the game). And yes, it's an issue with the game not handling a module unload correctly.
alright thank you for the clarification. it doesn't happen all the time, when I tested it, but it definitely isn't a one-off crash. I like having the overlay, so I guess I just won't close Afterburner in this game. which is fine
 
alright thank you for the clarification. it doesn't happen all the time, when I tested it, but it definitely isn't a one-off crash. I like having the overlay, so I guess I just won't close Afterburner in this game. which is fine

Many games don't handle a DLL unload very well (either due to bugs, anti-cheat or anti-debugging features), my advice to avoid this and other similar crashes in the future is to never close overlay applications as long as the game is open:

- Steam's GameOverlayUI.exe
- Fraps, Action!, Playclaw, etc.
- MSI Afterburner/RivaTuner
- OBS Studio
- AMD statistics/GeForce Experience

Before you start your session, close most of the things you don't need and keep only the applications you need open. Afterburner is very low footprint so you don't need to worry to close it to save some memory if that's the purpose of it. You can safely leave it enabled, and you can bind a hotkey to hide the overlay in the application settings if you don't wanna see the overlay while you're playing, for example I set mine to the backslash key:

1687590610623.png
 
Back
Top