Currently UBT supports linking in .natvis files when modules are compiled, this should be extended to pull in .natvis files from External modules that are linked into a module.

Instead of scanning the External module folder for .natvis files, these should be added to a list manually in the External Build.cs same as how we add .lib files and then propagated to any modules\binaries that reference the External module.

Steps to Reproduce
  1. Create an External module.
  2. Note there is no way to add .natvis files to the configuration to be linked in to referencing modules.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-193590 in the post.

Login to Vote

ComponentUE - Foundation - Cpp Tools - UnrealBuildTool
Affects Versions5.3
Target Fix5.4
CreatedAug 22, 2023
UpdatedAug 28, 2023