Crash DLSS and TSR

Hi.
When i Enable DLSS Plugin for UE 5.1 then my Editor is Crashed.

Blockquote LoginId:71778d474e533a3fc3e64c8d431f97ae
EpicAccountId:3fcbffaee0a64f928c45d11d213b83b8

Assertion failed: !(ViewFamily->GetTemporalUpscalerInterface() != nullptr && ViewFamily->GetPrimarySpatialUpscalerInterface() != nullptr) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Renderer\Private\SceneRendering.cpp] [Line: 4589] Conflict setting up a third party primary spatial upscaler or temporal upscaler.

UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_UnrealEd
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
user32
user32
uxtheme
uxtheme
user32
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
user32
ntdll
win32u
UnrealEditor_ApplicationCore
UnrealEditor_SlateCore
UnrealEditor_MainFrame
UnrealEditor_MainFrame
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

I can´t disable Temporal Upscaling in the Project Settings, because it´s grayed out.

Anyone Idea?

yes, thats because that property, temporal upscaling, is disabled when another property which is right next to it, anti aliasing method, isnt set to TAA.
Problem is that even when u disable both i still get same crash.
unreal 5.1 and dlss cant get it to work rly.

btw i found this commit which explains the changes. whatever is happening is because of it or dlss plugin still being broken, still trying to figure it out though.
https://github.com/EpicGames/UnrealEngine/commit/3fd8dd25d840406064b1cc1b209e2bf215b96bf9

This is rly strange, apparently according to dlss plugin source code, u need to have both antialiasing and temporal upscaling enabled for it to work.

…
checkf(View.PrimaryScreenPercentageMethod == EPrimaryScreenPercentageMethod::TemporalUpscale, TEXT(“DLSS requires TemporalUpscale. If you hit this assert, please set r.TemporalAA.Upscale=1”));

…

// Early returns if AA is disabled.
if (!ViewFamily.EngineShowFlags.AntiAliasing)
{
return;
}

But when u enable both u get the crash so

So ye i finally got it to work. They changed the way it works from previous versions. DLSS replaces unreal upscaler in place.

You must enable :

  1. Temporal Upsampling and set TAA as anti aliasing method. (or u get those crashes)
  2. in DLSS plugin DLSS for your D3D12RHI or 11 and set dlss for editor viewports if you wish.
    The screen percentage then works for dlss, there are no extra dlss options like before.
1 Like

Same issue with me, DLSS makes Unreal crash.
Activating Temporal Upsampling and set TAA does not solve the problem for me, and it always crashes. If not, do you really see an advantage with Unreal 5 between DLSS versus TSR upscaling? For me the result is the same.

Make sure you have the latest NVIDIA driver and updated your NVIDIA SDK, as DLSS requires the latest version of the NVIDIA driver and SDK.

Check and see if the same issue is reproduced on a new project. It may be project-specific if you’ve dabbled in the settings.

Hello, I was having the same issue. You must change the default Anti-Aliasing Method from the Project Settings. Temporal Anti-Aliasing (TAA) or Temporal Super-Resolution (TSR) worked for me. I don’t know which one is better for the performance. Other options (FXAA & MSAA) will cause crashes.

I’m still having this issue with the latest (Feb 10) DLSS plugin and on 5.1.1. This happens regardless of what the default AA method is set to, and even with both temporal upscale and temporal upsampling enabled.

EDIT: Fixed by simply disabling DLSS in the editor.

I managed to fix the crashing by changing Temporal Anti-Aliasing to (TAA) AND additionally changing the Project Setting ‘MSAA Sample Count’ to ‘No MSAA’.

1 Like