PARTIAL-FIXED Packaging ClientOnly game in the editor..

Hi,

So i’m trying to build a ClientOnly build, i have


public ShooterGameTarget(TargetInfo Target)
{
	Type = TargetType.Client;
	bUsesSteam = true;		
}

and in .uproject


	"TargetPlatforms": 
		"WindowsClient"
	],

I already fixed the editor code (to show WindowsClient in the options)

changed


PackageProjectMenu.h

			// Only care about game targets
			if ( VanillaPlatform.PlatformInfo->PlatformType != PlatformInfo::EPlatformType::Game || !VanillaPlatform.PlatformInfo->bEnabledForUse || (!VanillaPlatform.PlatformInfo->bEnabledInBinary && FRocketSupport::IsRocket()))
			{
				continue;
			}

to


PackageProjectMenu.h
			// Only care about game targets
			if (
				(
				VanillaPlatform.PlatformInfo->PlatformType != PlatformInfo::EPlatformType::Game &&
				VanillaPlatform.PlatformInfo->PlatformType != PlatformInfo::EPlatformType::Client
				)
				|| !VanillaPlatform.PlatformInfo->bEnabledForUse || (!VanillaPlatform.PlatformInfo->bEnabledInBinary && FRocketSupport::IsRocket()))
			{
				continue;
			}

and changed


SProjectTargetPlatformSettings.cpp
		if(PlatformInfo.IsVanilla() && PlatformInfo.PlatformType == PlatformInfo::EPlatformType::Game)
		{
			AvailablePlatforms.Add(&PlatformInfo);
		}

to


SProjectTargetPlatformSettings.cpp
		if(PlatformInfo.IsVanilla() && 
			(PlatformInfo.PlatformType == PlatformInfo::EPlatformType::Game
			|| PlatformInfo.PlatformType == PlatformInfo::EPlatformType::Client))
		{
			AvailablePlatforms.Add(&PlatformInfo);
		}

the result is:

BUUUUUUT, when i try packaging i got a error and idk what means, someone have idea of what means this:

Thaaaanks

If i change Type to TargetType.Game, i can cook using the “cook content for windows”, but with client i get the error…