Hello,
I am trying to package a project and it keeps showing me “Packaging failed”, and the error message is “Unknown Error”
It also shows “Missing precompiled manifest for ‘FileUtilities’, ‘D:\UE_5.2\Engine\Intermediate\Build\Win64\UnrealGame\Development\FileUtilities\FileUtilities.precompiled’. This module was most likely not flagged for being included in a precompiled build - set ‘PrecompileForTargets = PrecompileTargetsType.Any;’ in FileUtilities.build.cs to override. If part of a plugin, also check if its ‘Type’ is correct.”
I modified the FileUtilities.build.cs as below, but the issue is not fixed.
// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class FileUtilities : ModuleRules
{
public FileUtilities(ReadOnlyTargetRules Target) : base(Target)
{
PrivateDependencyModuleNames.AddRange(new string[] { “Core”});
if (Target.bBuildEditor)
{
PrivateDependencyModuleNames.AddRange(new string[] { "libzip" });
}
PrecompileForTargets = PrecompileTargetsType.Any;
}
}
Please help me fix this issue.
I am using UE5.2.