ue4 打包出错 不知道什么原因 求大家指导下
UE4Editor-Cmd: LogTemp:Display: Loaded TP LinuxTargetPlatformUATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: LogTargetPlatformManager:Display: Building Assets For WindowsNoEditor
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 8.9185123s to run UE4Editor-Cmd.exe, ExitCode=1
UATHelper: Packaging (Windows (64-bit)): Project.Cook: Cook failed. Deleting cooked data.
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. ---> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for E:\work\code\testnew\testnew.uproject; see log C:\Users\admin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Epi
c+Games+UE_4.15\Cook-2017.03.14-17.23.15.txt
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters)
UATHelper: Packaging (Windows (64-bit)): 在 Project.Cook(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)): --- 内部异常堆栈跟踪的结尾 ---
UATHelper: Packaging (Windows (64-bit)): 在 Project.Cook(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)): 在 BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)): 在 BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.Program.Main()
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Cook Failure
如果是C++项目 编译没出错,同时蓝图没错误. . . . .那么就是内存不够,内存不够打包会出现各种类型的错误. . . .多数都是cook错误 963220333 发表于 2017-3-14 18:20
如果是C++项目 编译没出错,同时蓝图没错误. . . . .那么就是内存不够,内存不够打包会出现各种类型的错误. ...
这个是c++项目里面没有单独的蓝图,只有关卡蓝图里面有,我C++新建了个actor,应该跟里面写的有关 但vs
没报错误 一大包就出现这个错误 ,把那个actor里面内容隐掉 就可以重新打包了
mknmknmk 发表于 2017-3-14 18:37
ExitCode=1
我看了这俩个链接 都试了 没什么用啊 还有这个ExitCode=1代表什么 能具体说下嘛 谢谢:) UCLASS()
class TESTNEW_API AtestnewGameModeBase : public AGameModeBase
{
GENERATED_BODY()
UFUNCTION(BlueprintCallable, Category = "ClientTest")
void Login();
UFUNCTION(BlueprintCallable, Category = "ClientTest")
void LoginTest();
UFUNCTION(BlueprintCallable, Category = "ClientTest")
void LoginExit();
private:
CTLMultiConnecter mgr;//这句隐掉就没问题了== 不知道为啥
CZYClient* m_pClient;
};
页:
[1]