Viewport crashes when UnrealEngine 5.1 DLSS is enabled

I am using Unreal Engine 5.1. All drivers and Windows are up to date. If the “Enable DLSS/DLAA to open in Editor viewports” option is True, the UE Crashes when I make the Master Display Window full screen. But if I don’t make it full screen, I use it with windows and I don’t make the window too big, it doesn’t crash, I can use it. If the “Enable DLSS/DLAA to open in Editor viewports” option is False, I can use it without any problems, but this time it is not active during dlss editing. My graphics card is RTX 3080Ti.

1 Like

Welcome back @tunayeniyayla to the NVIDIA developer forums!

This is the first time I hear of this kind of problem. I’ll see if we can reproduce and check if this is a plugin issue.

Thanks for bringing this up!

Let me make one more add-on. While writing the subject, I said master display windows, but this would be wrong. Open a blueprint and make that blueprint’s Viewport full screen. Unreal Engine crashes if DLSS is enabled. It doesn’t crash if DLSS is not active.

I’m experiencing this problem as well and other people who work with me. If I open any blueprint and open the viewport it crashes.

1 Like

Same, Unreal crashes when you open a blueprint actor and click on Viewport, even with the latest version (5.1.1) of the plugin.

1 Like

Hello @tumi435 and @frakatchoo and welcome to the NVIDIA developer community!

Would anyone of yo be ale to share a short screen recording of the error as well as logs of it? Because so far we don’t have a local repro of the issue yet and I would like to make sure we are trying the right thing.

Thanks!

I opened dlss again and when my screen resolution was 4k, I entered the viewport and it crashed. I am attaching the crash file as you requested.

LoginId:70905e6745fc51fa6b28d49bf3cc6b6c
EpicAccountId:e50b88638d604184a11ee54c180f8449

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff

UnrealEditor_RenderCore
UnrealEditor_NISShaders!AddSharpenOrUpscalePass() [C:\BuildAgent\work\206b5a556ada38bf\_Stage\Plugin\NIS\HostProject\Plugins\NIS\Source\NISShaders\Private\NISShaders.cpp:632]
UnrealEditor_NISCore!FNVImageUpscaler::AddPasses() [C:\BuildAgent\work\206b5a556ada38bf\_Stage\Plugin\NIS\HostProject\Plugins\NIS\Source\NISCore\Private\NISUpscaler.cpp:204]
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

UECC-Windows-CE20739A4E097E884EEE2BA7B6A839E6_0000.7z (160.0 KB)

I also took a screenshot and attach it as a mp4.

2 Likes

Thank you! I’ll let our Engineers know.

It might be a while until there is further feedback since I will be offline for a week. And I cannot promise if our engineers have time to look into this specific issue.

Thanks!

1 Like

Any progress?

1 Like

Any progress having the same exact problem ?

1 Like

Hi @KorayBirand, welcome to the NVIDIA developer forums!

Unfortunately I don’t have anything to update yet, we were still not able to reproduce this issue the way you describe it.

Can you all make sure you have the latest driver and the correct combination of UE version plus UE plugin version? Top of tree 5.1 for example requires DLSS 5.1.1

I have latest studio drivers (531.61), downloaded the only option for 5.1.1 and my unreal is 5.1.1. It is impossible to make a mistake.

1 Like

Here is the screencast

and this is the error message"
LoginId:6976b7e94230d7ad0eb748b0b73cde0d
EpicAccountId:796a441bae984cbcb31e8352d5dbdbbd

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

UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_UnrealEd
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_DisplayClusterEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

1 Like

I also have the unreal engine version 5.1.1 and the NVIDIA driver in the latest version. Today I downloaded the latest version of the NVDIA DLSS plugin and it has been updated from version 2.4.0b to version 3.1.0b. But the problem of crashing in viewport persists. There is no improvement.

1 Like

Thanks for the updates.

I think your issue @KorayBirand is different from the one the OP is talking about since you have a more helpful error message:

That usually means that you have some other upscaling effect enabled like MSAA, TAA or similar, be it as part of a Blueprint or some other setting. You should first check that and find where that is enabled.

I opened the .dmp file from the attached .7z crash log. I see that the engine version is 5.1.1 and it has loaded 5.1.0 builds of the DLSS, NIS, and DLSSMoviePipelineSupport plugins. There was a change between UE 5.1.0 and 5.1.1 that made 5.1.0 DLSS plugin builds incompatible with 5.1.1 engines.

Additionally, I see that the plugins are installed directly to the Engine\Plugins folder. It’s better to install prepackaged plugins such as DLSS under the Engine\Plugins\Marketplace folder to avoid errors when packaging projects.

Remove the DLSS, NIS, and DLSSMoviePipelineSupport plugins from your 5.1 Engine\Plugins folder, download the 5.1.1 build of the DLSS plugin package, copy the plugins to your Engine\Plugins\Marketplace folder, and let us know if you experience any other issues. Good luck!

Since you’re using the 5.1.1 plugin, it’s not the same as the crash log from the other post. But there is an issue here that we’ve identified, it can happen when upscaling is active in an editor viewport and DLSS-SR is enabled at the same time as another spatial upscaler such as NIS. We’re testing out a fix. In the meantime, you can work around this by disabling DLSS in editor viewports from the project settings. Thank you for reporting the issue!

I was actually using version 5.1.0 when I wrote the message you quoted (or at least I got the error in 5.1.0 at first, but before I posted that error message here, I might have switched to version 5.1.1 and got the same error there. I might have forgotten to update the plugins at that time). But I am currently using version 5.1.1 and updated accordingly. As you said, I opened the Marketplace folder in the Plugins folder and put the plugins (I downloaded the 5.1.1 version again). Now I’m getting the same error and adding all the information below as well.

LoginId:70905e6745fc51fa6b28d49bf3cc6b6c
EpicAccountId:e50b88638d604184a11ee54c180f8449

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

UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_UnrealEd
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

UECC-Windows-F26A993545B764F5A5620387C9521F3D_0000.7z (158.2 KB)

1 Like

This crash looks the same as the one that was reported by @KorayBirand, it can happen when upscaling is active in an editor viewport and DLSS-SR is enabled at the same time as another spatial upscaler such as NIS. We’re working on a fix. In the meantime, you can work around this by disabling DLSS in editor viewports from the project settings.

1 Like