今天打包时,日志显示了以下错误
ProcessResult.StdOut: LogWindows: Error: begin: stack for UAT
ProcessResult.StdOut: LogWindows: Error: === Critical error: ===
ProcessResult.StdOut: LogWindows: Error:
ProcessResult.StdOut: LogWindows: Error: Assertion failed: SynchObject [File:D:\install\unreal\UE_4.26\Engine\Source\Runtime\Core\Public\Misc/ScopeLock.h] [Line: 38]
ProcessResult.StdOut: LogWindows: Error:
ProcessResult.StdOut: LogWindows: Error:
ProcessResult.StdOut: LogWindows: Error:
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ffa47e6474c KERNELBASE.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff9eb27d066 UE4Editor-Core.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff9eb2807a8 UE4Editor-Core.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff9eaf8e8cd UE4Editor-Core.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff9eaf25575 UE4Editor-Core.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff9eaf27620 UE4Editor-Core.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff9ca09ac40 UE4Editor-SimpleHttp.dll!FSimpleHttpModule::ShutdownModule() [D:\test\ue4\HotUpdate_4_26\Plugins\SimpleHttp\Source\SimpleHttp\Private\SimpleHttp.cpp:15]
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff9eb0116d5 UE4Editor-Core.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff699ff06cb UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff699ff1207 UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff699ff125a UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff69a0052bd UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ff69a00736e UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ffa48ed54e0 KERNEL32.DLL!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00007ffa4a94485b ntdll.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error:
ProcessResult.StdOut: LogWindows: Error: end: stack for UAT
CommandUtils.Run: Took 19.2546888s to run UE4Editor-Cmd.exe, ExitCode=3
InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\Legion\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+install+unreal+UE_4.26\Cook-2022.08.30-11.00.59.txt
InternalUtils.SafeCopyFile: SafeCopyFile D:\install\unreal\UE_4.26\Engine\Programs\AutomationTool\Saved\Cook-2022.08.30-11.00.40.txt C:\Users\Legion\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+install+unreal+UE_4.26\Cook-2022.08.30-11.00.59.txt
InternalUtils.SafeDeleteFile: SafeDeleteFile D:\install\unreal\UE_4.26\Engine\Programs\AutomationTool\Saved\Cook-2022.08.30-11.00.40.txt
Log.WriteException: ==============================================================================
Log.WriteException: ERROR: Cook failed.
一下子傻眼了。我对ue不熟啊,这么多插件。
静下心来,发现定位在SimpleHttp.cpp中,
void FSimpleHttpModule::ShutdownModule()
{
FSimpleHttpManage::Destroy();
}文章来源:https://www.toymoban.com/news/detail-415830.html
void FSimpleHttpManage::Destroy()
{
FScopeLock scopeLock(&instance->mutex);
if (instance != nullptr)
{
delete instance;
}
instance = nullptr;
}
原来是析构时也加锁了。把锁去掉就Ok了。本来就是,析构了,锁都没了,谁还和你抢资源?哈哈,文章来源地址https://www.toymoban.com/news/detail-415830.html
到了这里,关于ue4打包出现问题解决[Callstack] 0x00007ffa47e6474c KERNELBASE.dll!UnknownFunction []的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!