解决NVIDIA DLSS虚幻引擎插件在运行时出现丢失节点的问题

解决NVIDIA DLSS虚幻引擎插件在运行时出现丢失节点的问题

NVIDIA DLSS 是一套由 GeForce RTX™ Tensor Core 提供支持的神经渲染技术,可提高帧率,同时提供可与原生分辨率相媲美的清晰、高质量图像。最新突破 DLSS 4 带来了新的多帧生成,并与 DLSS 技术套件配合使用,将性能比传统渲染提高多达 8 倍,同时保持 NVIDI

NVIDIA DLSS 是一套由 GeForce RTX™ Tensor Core 提供支持的神经渲染技术,可提高帧率,同时提供可与原生分辨率相媲美的清晰、高质量图像。最新突破 DLSS 4 带来了新的多帧生成,并与 DLSS 技术套件配合使用,将性能比传统渲染提高多达 8 倍,同时保持 NVIDIA Reflex 的响应速度。

插件坑笔记:

在虚幻引擎5.4中使用 NVIDIA DLSS 插件 可以极大提升项目性能。
但在使用过程中发现该插件存在一些问题,蓝图节点部分在编辑器中可以正常编译通过,但在运行时则会出现编译错误,但凡引用到该插件的任何结构变量都会运行时出现不存在的节点错误:

variable with a conflicting name (Box) - changed to Box_0.
[2025.05.30-11.03.28:700][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 正在使用的引脚  <Unnamed>  已不存在于节点  SetReflexMode  上。请刷新节点或断开连接来移除引脚。
[2025.05.30-11.03.28:700][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 正在使用的引脚  Mode  已不存在于节点  SetReflexMode  上。请刷新节点或断开连接来移除引脚。
[2025.05.30-11.03.28:700][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 在'BP_DLSSLib’中找不到名为"SetReflexMode\”的函数。
请确保已针对  SetReflexMode  对'BP_DLSSLib’进行了编译
[2025.05.30-11.03.28:700][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 正在使用的引脚  ReturnValue  已不存在于节点  IsReflexSupported  上。请刷新节点或断开连接来移除引脚。
[2025.05.30-11.03.28:700][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 在'BP_DLSSLib’中找不到名为"IsReflexSupported\”的函数。
请确保已针对  IsReflexSupported  对'BP_DLSSLib’进行了编译
[2025.05.30-11.03.28:700][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 正在使用的引脚  ReturnValue  已不存在于节点  GetDefaultReflexMode  上。请刷新节点或断开连接来移除引脚。
[2025.05.30-11.03.28:700][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 在'BP_DLSSLib’中找不到名为"GetDefaultReflexMode\”的函数。
请确保已针对  GetDefaultReflexMode  对'BP_DLSSLib’进行了编译
[2025.05.30-11.03.28:701][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 正在使用的引脚  <Unnamed>  已不存在于节点  SetDLSSGMode  上。请刷新节点或断开连接来移除引脚。
[2025.05.30-11.03.28:701][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 正在使用的引脚  DLSSGMode  已不存在于节点  SetDLSSGMode  上。请刷新节点或断开连接来移除引脚。
[2025.05.30-11.03.28:701][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 在'BP_DLSSLib’中找不到名为"SetDLSSGMode\”的函数。
请确保已针对  SetDLSSGMode  对'BP_DLSSLib’进行了编译
[2025.05.30-11.03.28:701][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 正在使用的引脚  ReturnValue  已不存在于节点  GetDefaultDLSSGMode  上。请刷新节点或断开连接来移除引脚。
[2025.05.30-11.03.28:702][  0]LogBlueprint: Error: [AssetLog] G:\UE5Project\Demo\Content\NVIDIA_DLSS\Blueprints\UI\BP_DLSSLib.uasset: [Compiler] 在'BP_DLSSLib’中找不到名为"GetDefaultDLSSGMode\”的函数。
请确保已针对  GetDefaultDLSSGMode  对'BP_DLSSLib’进行了编译

错误原因

这是因为 我们的蓝图,例如GameInstance 蓝图在加载 StreamlineDLSSGBlueprint 模块之前编译导致的

解决问题

打开如下插件的 .uplugin 文件,找到蓝图模块部分,将 PostEngineInit 改为 PostConfigInit

  • StreamlineCore-StreamlineBlueprint
  • StreamlineDLSSG - StreamlineDLSSGBlueprint
  • StreamlineReflex - StreamlineReflexBlueprint

重启引擎即可解决

Comment