DLSS - error when building package unreal 5

Hi, hoping someone could help me with an error below. I can’t build any package even blank project with DLSS enabled.

UATHelper: Packaging (Windows): ERROR: Expecting to find a type to be declared in a module rules named ‘DLSSUtility’ in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type defined by Unreal Build Tool.
PackagingResults: Error: Expecting to find a type to be declared in a module rules named ‘DLSSUtility’ in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type defined by Unreal Build Tool.

3 Likes

I just had the same issue. I moved the DLSS plugin from UE5 Engine Plugins >> UE5 Project Plugins. Packaging project working fine after that.

3 Likes

May I know in which folder on UE5 Project Plugins? Because I cannot find “Plugin” folder on my EU5 Project Folder. I am facing the issue right now :sleepy:

If there is no folder named “Plugins”, you can create the folder and put the Plugins in there… For this specific DLSS plugin, create the following structure:

%PROJECT_PATH%\Plugins\Runtime\Nvidia\DLSS

Inside the DLSS folder, you’ll put the file DLSS.uplugin and their related folders.
PROJECT_PATH is where your name.uproject file is located.

3 Likes

I will give it a try, thanks a lot!

1 Like

It worked for me, thanks.

1 Like

In the uproject files for the DLSS plugins I had to change “EnabledByDefault” from false to true