[UE5] DLSS Plug-in Not Working After Update to 5.0.2

As soon as I click any of the DLSS presets in my viewport-- Quality, Performance, High Performance, whichever-- I get a crash.

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x000000040000062a

UnrealEditor_NGXD3D12RHI!FNGXD3D12RHI::ExecuteDLSS() [C:\BuildAgent\work\206b5■■■6ada38bf_Stage\Plugin\DLSS\HostProject\Plugins\DLSS\Source\NGXD3D12RHI\Private\NGXD3D12RHI.cpp:213]
UnrealEditor_DLSS!<lambda_0d0ba00dcd58f5790028a6b3e27b95a9>::operator()() [C:\BuildAgent\work\206b5■■■6ada38bf_Stage\Plugin\DLSS\HostProject\Plugins\DLSS\Source\DLSS\Private\DLSSUpscaler.cpp:551]
UnrealEditor_DLSS!TRHILambdaCommand<FRHICommandListImmediate,<lambda_0d0ba00dcd58f5790028a6b3e27b95a9> >::ExecuteAndDestruct() [C:\BuildAgent\work\206b5■■■6ada38bf\BuildScripts_deps\ue\Engine\Source\Runtime\RHI\Public\RHICommandList.h:787]
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

And the logfile:

[2022.05.25-15.34.41:659][517]LogDLSSEditor: SDLSSSettings::OnHeaderClicked InQualityLevel = 0
[2022.05.25-15.34.42:910][595]LogRHI: Error: Breadcrumbs ‘RHIThread’

[2022.05.25-15.34.44:712][595]LogThreadingWindows: Error: Runnable thread RHIThread crashed.
[2022.05.25-15.34.44:712][595]LogWindows: Error: === Critical error: ===
[2022.05.25-15.34.44:712][595]LogWindows: Error:
[2022.05.25-15.34.44:712][595]LogWindows: Error: Fatal error!
[2022.05.25-15.34.44:712][595]LogWindows: Error:
[2022.05.25-15.34.44:712][595]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x000000040000062a
[2022.05.25-15.34.44:712][595]LogWindows: Error:
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff8c32d315b UnrealEditor-NGXD3D12RHI.dll!FNGXD3D12RHI::ExecuteDLSS() [C:\BuildAgent\work\206b5■■■6ada38bf_Stage\Plugin\DLSS\HostProject\Plugins\DLSS\Source\NGXD3D12RHI\Private\NGXD3D12RHI.cpp:213]
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff8eeef5b41 UnrealEditor-DLSS.dll!<lambda_0d0ba00dcd58f5790028a6b3e27b95a9>::operator()() [C:\BuildAgent\work\206b5■■■6ada38bf_Stage\Plugin\DLSS\HostProject\Plugins\DLSS\Source\DLSS\Private\DLSSUpscaler.cpp:551]
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff8eeef8fb8 UnrealEditor-DLSS.dll!TRHILambdaCommand<FRHICommandListImmediate,<lambda_0d0ba00dcd58f5790028a6b3e27b95a9> >::ExecuteAndDestruct() [C:\BuildAgent\work\206b5■■■6ada38bf\BuildScripts_deps\ue\Engine\Source\Runtime\RHI\Public\RHICommandList.h:787]
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff93ab9cd91 UnrealEditor-RHI.dll!UnknownFunction
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff93ab8253f UnrealEditor-RHI.dll!UnknownFunction
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff93ab9f075 UnrealEditor-RHI.dll!UnknownFunction
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff90ae63a9d UnrealEditor-Core.dll!UnknownFunction
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff90ae63f3e UnrealEditor-Core.dll!UnknownFunction
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff90ae642e1 UnrealEditor-Core.dll!UnknownFunction
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff90d4bd0ad UnrealEditor-RenderCore.dll!UnknownFunction
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff90b5379fb UnrealEditor-Core.dll!UnknownFunction
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff90b530a60 UnrealEditor-Core.dll!UnknownFunction
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff9ba597034 KERNEL32.DLL!UnknownFunction
[2022.05.25-15.34.44:712][595]LogWindows: Error: [Callstack] 0x00007ff9bae82651 ntdll.dll!UnknownFunction
[2022.05.25-15.34.44:712][595]LogWindows: Error:
[2022.05.25-15.34.44:712][595]LogWindows: Error: Crash in runnable thread RHIThread
[2022.05.25-15.34.44:728][595]LogExit: Executing StaticShutdownAfterError

It was working fine on 5.0.1 just last night. Anything I should try? Thanks.

1 Like

Same problem

1 Like

same here too. guess nvidia need to update something that 5.02 broke with dlss

2 Likes

same problem here - I will deactivate DLSS until there is a fix I guess

1 Like

I just compiled the plugin from source and it works. DLSS plugin comes with source.
Have a project that uses c++, in explorer, inside the projects folder, make a Plugins folder if it doesnt exist. Copy all ur dlss or nvidia plugins folders inside it so its Plugins/DLSS and others.
Regenerate the vs studio files by right clicking on unreal project file and regenerate option. Recompile in vs. Now u can launch the project and dlss works. To make it work for all the projects copy back the files to the engine.

4 Likes

Thanks,This method works

1 Like

Thanks for the help, but unfortunately this didn’t work for me. I’m still having the exact same crash. Hope it worked for others though!

EDIT: I was wrong, see below

1 Like

Strange, did u get same issue? You sure the compilation worked? Did you move it back to the right folder Marketplace in engine replacing files?

2 Likes

Aha! Yes dude, this method worked! I just made a couple dumb mistakes 'cuz I’m tired. Thank you!

1 Like

thx! Worked for me

1 Like

There is and ue5.02 update on nvidia:s site now :smile:

1 Like

Intalled the new 5.02 DLSS from nvidia site and it is not working correctly. It does compile with the quality setting and if I set it to ultra performance the image gets muddy, but also there is no improvement in performance AND DOF is still there which implies to me that DLSS is in fact not on except for the reduction in resolution.

Edit: It does work when no sequence / animation is playing. As soon as I start a sequence in game, DOF appears and DLSS is basically off.