Skip to main content
 首页 » 资源教程 » UE4教程

ue4打包失败

2016年09月09日 22:35:1216470

ue4打包失败,最后提示 Error Unknown Cook Failure

究竟是什么原因呢,从log最开始查找error,最开始找到的比较可疑的error如下:

MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.05.27-13.42.02:613][  0]LogCook:Display: Cooking /Engine/Functions/Engine_MaterialFunctions02/Texturing/ScreenAlignedPixelToPixelUVs -> E:/work/Viba/trunk/UnrealEngine-4.10/ShooterGame/Saved/Cooked/WindowsNoEditor/Engine/Content/Functions/Engine_MaterialFunctions02/Texturing/ScreenAlignedPixelToPixelUVs.uasset
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.05.27-13.42.02:615][  0]LogSavePackage:Display: Finished SavePackage E:/work/Viba/trunk/UnrealEngine-4.10/ShooterGame/Saved/Cooked/WindowsNoEditor/Engine/Content/Functions/Engine_MaterialFunctions02/Texturing/ScreenAlignedPixelToPixelUVs.uasset
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.05.27-13.42.02:616][  0]LogLinker:Warning: Unable to load package (../../../ShooterGame/Content/RestrictedAssets/PhysicalMaterials/PhysMat_Metal.uasset) PackageVersion 493, MaxExpected 482 : LicenseePackageVersion 0, MaxExpected 0.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.05.27-13.42.02:616][  0]CookResults:Warning: Warning Package /Game/RestrictedAssets/PhysicalMaterials/PhysMat_Metal supposed to be fully loaded but isn't. RF_WasLoaded is not set
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.05.27-13.42.02:617][  0]LogCook:Warning: Package /Game/RestrictedAssets/PhysicalMaterials/PhysMat_Metal supposed to be fully loaded but isn't. RF_WasLoaded is not set
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.05.27-13.42.02:617][  0]LogCook:Display: Cooking /Game/RestrictedAssets/PhysicalMaterials/PhysMat_Metal -> E:/work/Viba/trunk/UnrealEngine-4.10/ShooterGame/Saved/Cooked/WindowsNoEditor/ShooterGame/Content/RestrictedAssets/PhysicalMaterials/PhysMat_Metal.uasset
PackagingResults:Warning: Warning Warning Package /Game/RestrictedAssets/PhysicalMaterials/PhysMat_Metal supposed to be fully loaded but isn't. RF_WasLoaded is not set
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.05.27-13.42.02:617][  0]LogWindows:Error: Windows GetLastError: 操作成功完成。 (0)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.05.27-13.45.13:425][  0]LogOutputDevice:Error: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: begin: stack for UAT
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.05.27-13.45.13:425][  0]LogWindows:Error: === Critical error: ===
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: Fatal error!
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: KERNELBASE.dll
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() [e:\work\viba\trunk\unrealengine-4.

红字标识的Fatal error,没有说明具体原因,继续往上看,看到“操作成功完成”,不要被这个迷惑了,再继续往上看,发现一只是在打包输出,但打包到文件PhysMat_Metal就停止了,继续这个文件,发现这个文件在编辑器里看不到,文件夹里倒是存在的,原来这个文件被错误覆盖了,还原到前一个版本就好了。


评论列表暂无评论
发表评论