# \[Regression\] AddBuildProductsFromManifest missing \[ModuleName\]Classes.h in manifest during BuildGraph build 

**URL:** <https://forums.unrealengine.com/t/regression-addbuildproductsfrommanifest-missing-modulename-classes-h-in-manifest-during-buildgraph-build/2835583>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [August 19, 2026, 9:04am UTC](https://forums.unrealengine.com/t/regression-addbuildproductsfrommanifest-missing-modulename-classes-h-in-manifest-during-buildgraph-build/2835583 "2026-08-19T09:04:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 19, 2026, 9:04am UTC](https://forums.unrealengine.com/t/regression-addbuildproductsfrommanifest-missing-modulename-classes-h-in-manifest-during-buildgraph-build/2835583/1 "2026-08-19T09:04:13Z")

</div>

I believe this is a regression in CL 56607635 where the behaviour of PrepopulateDirectoryCache changed from:

outputFiles.Add(mi.ModuleName + “Classes.cpp”);

to:

outputFiles.Add(mi.ModuleName + “Classes.h”);

inside UHTExecution.cs. We started seeing this regression after we updated to the latest changes on the 5.8 stream.

`BUILD FAILED: AddBuildProductsFromManifest: C:\UES\1lc5rxcomnt_ra\.uet\tmp\H\Plugins\P\Intermediate\Build\Linux\UnrealServer\Inc\RECFG\UHT\RedpointEOSConfigClasses.h was in manifest "C:\UES\b34bjau2jf2_6f\Engine\Intermediate\Build\Manifest.xml" but could not be found.`

After patching to the previous behaviour of “Classes.cpp”, BuildGraph can build the module successfully. Interestingly, “RedpointEOSConfigClasses.cpp” also does not exist on disk, but BuildGraph doesn’t complain about it being missing.

It looks like UHT only emits a “Classes.h” file is UhtPackageCodeGeneratorHFile is added to the factory in UhtCodeGenerator.cs. The writeHeader variable is conditional on whether the header file contains any UHT classes:

```auto
					if (!writeHeader)
					{
						foreach (UhtType type in headerFile.Children)
						{
							if (type is UhtClass classObj)
							{
								if (classObj.ClassType != UhtClassType.NativeInterface &&
									classObj.ClassFlags.HasExactFlags(EClassFlags.Native | EClassFlags.Intrinsic, EClassFlags.Native) &&
									!classObj.ClassExportFlags.HasAllFlags(UhtClassExportFlags.NoExport))
								{
									writeHeader = true;
									break;
								}
							}
						}
					}

```

```auto
						if (writeHeader)
						{
							new UhtPackageCodeGeneratorHFile(this, module).Generate(factory, moduleSortedHeaders);
						}

```

This matches the behaviour we’re seeing where it’s only an error in a module that only contains UENUM declarations.

If the change to “Classes.h” is intended, then UHT needs to be updated to always write this file, instead of only emitting it when UCLASS is present in a module.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 19, 2026, 9:04am UTC](https://forums.unrealengine.com/t/regression-addbuildproductsfrommanifest-missing-modulename-classes-h-in-manifest-during-buildgraph-build/2835583/2 "2026-08-19T09:04:17Z")

</div>

**Steps to Reproduce**

- Create a C++ module that contains only UENUM() declarations (no UCLASS)
- Build with BuildGraph
- Observe an error due to [ModuleName]Classes.h missing from the UHT folder  
[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Rinn.EG1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rinn.EG1](https://forums.unrealengine.com/u/Rinn.EG1)\
**Post date:** [August 31, 2026, 10:39am UTC](https://forums.unrealengine.com/t/regression-addbuildproductsfrommanifest-missing-modulename-classes-h-in-manifest-during-buildgraph-build/2835583/3 "2026-08-31T10:39:37Z")

</div>

I’m working on a 5.8 hotfix change to address this

[Attachment Removed]
