With the release of UE5.2, I am working on UE5.2 compatibility for plugins that I have listed on the marketplace, but some plugins are causing errors when building on the marketplace side for UE5.2 only. In my environment it builds fine.
I submitted this plugin to the marketplace and the following error seems to be occurring during the build process on the marketplace side.
d:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\GraphPrinter\Intermediate\Build\Win64\UnrealEditor\Inc\GenericGraphPrinter\UHT\GenericGraphPrinterSettings.gen.cpp(8): fatal error C1083: Cannot open include file: '../../../../../../../../build/U5M-Marketplace/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/GraphPrinter/Source/GenericGraphPrinter/Public/GenericGraphPrinter/Utilities/GenericGraphPrinterSettings.h': No such file or directory
d:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\GraphPrinter\Intermediate\Build\Win64\UnrealEditor\Inc\DetailsPanelPrinter\UHT\RestoreDetailsPanelOptions.gen.cpp(8): fatal error C1083: Cannot open include file: '../../../../../../../../build/U5M-Marketplace/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/GraphPrinter/Source/DetailsPanelPrinter/Public/DetailsPanelPrinter/Types/RestoreDetailsPanelOptions.h': No such file or directory
I thought it might be due to the length of the directory path, as the include path in the generated source file is incorrect, but it built correctly in UE 5.1 and earlier.
I contacted the marketplace and they was told that there is a deficiency in the PublicDependencyModuleNames in build.cs.
I have tried changing all the PrivateDependencyModuleNames to PublicDependencyModuleNames, but I can’t figure out the cause and the error only occurs on the marketplace side of the build, so I am having trouble solving it.
If anyone has run into the same case or knows of a solution, I would appreciate your help in resolving this issue.