endink / Mediapipe4u-plugin

380 stars 52 forks source link

[Bug]: 打包之后却失Opencv_World341.dll文件导致打开摄像头产生致命错误 #33

Closed AmuJuping closed 1 year ago

AmuJuping commented 1 year ago

MediaPipe4U Version

MediaPipe4U_UE5_0_230227

UE Version

5.0.x

UnrealEngine Type

Install From Epic Games Launcher

What happened?

[2023.03.15-07.46.30:155][465]LogWindows: Error: === Critical error: === [2023.03.15-07.46.30:155][465]LogWindows: Error: [2023.03.15-07.46.30:155][465]LogWindows: Error: Fatal error! [2023.03.15-07.46.30:155][465]LogWindows: Error: [2023.03.15-07.46.30:155][465]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x00007ff888f1fd38 [2023.03.15-07.46.30:155][465]LogWindows: Error: [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff888f1fd38 opencv_world341.dll!UnknownFunction [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65a17dde7 IdolVerse.exe!FOpenCVWebcamProvider::Open() [F:\3D_Works\UE\MediaPipe4U\Build\MediaPipe4U\HostProject\Plugins\MediaPipe4U\Source\MediaPipe\Private\CameraProviders\OpenCVWebcamProvider.cpp:39] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65a18d2ca IdolVerse.exe!UWebcamImageSourceComponent::Open() [F:\3D_Works\UE\MediaPipe4U\Build\MediaPipe4U\HostProject\Plugins\MediaPipe4U\Source\MediaPipe\Private\Core\ImageSource\WebcamImageSourceComponent.cpp:90] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65a22a125 IdolVerse.exe!UMediaPipeHolisticComponent::StartInternal() [F:\3D_Works\UE\MediaPipe4U\Build\MediaPipe4U\HostProject\Plugins\MediaPipe4U\Source\MediaPipe\Private\MediaPipeHolisticComponent.cpp:137] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65a229aa5 IdolVerse.exe!UMediaPipeHolisticComponent::StartImageSource() [F:\3D_Works\UE\MediaPipe4U\Build\MediaPipe4U\HostProject\Plugins\MediaPipe4U\Source\MediaPipe\Private\MediaPipeHolisticComponent.cpp:358] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65a2298e3 IdolVerse.exe!UMediaPipeHolisticComponent::StartCamera() [F:\3D_Works\UE\MediaPipe4U\Build\MediaPipe4U\HostProject\Plugins\MediaPipe4U\Source\MediaPipe\Private\MediaPipeHolisticComponent.cpp:326] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65a259c9f IdolVerse.exe!UMediaPipeHolisticComponent::execStartCamera() [F:\3D_Works\UE\MediaPipe4U\Build\MediaPipe4U\HostProject\Plugins\MediaPipe4U\Intermediate\Build\Win64\UnrealGame\Inc\MediaPipe\MediaPipeHolisticComponent.gen.cpp:145] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b431f69 IdolVerse.exe!UFunction::Invoke() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b613052 IdolVerse.exe!UObject::CallFunction() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b6240df IdolVerse.exe!UObject::ProcessContextOpcode() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b64c865 IdolVerse.exe!UObject::execLetBool() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b6272b1 IdolVerse.exe!ProcessLocalScriptFunction() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b60340e IdolVerse.exe!ProcessScriptFunction<void (cdecl)(UObject ptr64,FFrame & ptr64,void * ptr64)>() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b626ba5 IdolVerse.exe!ProcessLocalFunction() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b6272b1 IdolVerse.exe!ProcessLocalScriptFunction() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b60340e IdolVerse.exe!ProcessScriptFunction<void (cdecl)(UObject ptr64,FFrame & ptr64,void * ptr64)>() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b626ba5 IdolVerse.exe!ProcessLocalFunction() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b6240df IdolVerse.exe!UObject::ProcessContextOpcode() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b6272b1 IdolVerse.exe!ProcessLocalScriptFunction() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b60340e IdolVerse.exe!ProcessScriptFunction<void (cdecl)(UObject ptr64,FFrame & ptr64,void * ptr64)>() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b626ba5 IdolVerse.exe!ProcessLocalFunction() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b6272b1 IdolVerse.exe!ProcessLocalScriptFunction() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b6264b1 IdolVerse.exe!UObject::ProcessInternal() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b431f69 IdolVerse.exe!UFunction::Invoke() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b6259c2 IdolVerse.exe!UObject::ProcessEvent() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff659188cd1 IdolVerse.exe!TMulticastScriptDelegate::ProcessMulticastDelegate() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65f22ab07 IdolVerse.exe!UButton::SlateHandleClicked() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65f1c56d6 IdolVerse.exe!TBaseUObjectMethodDelegateInstance<0,UButton,FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65bbb8e0f IdolVerse.exe!SButton::ExecuteOnClick() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65bbe59f7 IdolVerse.exe!SButton::OnMouseButtonUp() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b9cc20d IdolVerse.exe!TSlotBase::operator[]() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b9c2276 IdolVerse.exe!TArray<TSharedPtr<SWindow,1>,TSizedDefaultAllocator<32> >::RemoveAll< >() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65ba1945a IdolVerse.exe!FSlateApplication::RoutePointerUpEvent() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65ba0528a IdolVerse.exe!FSlateApplication::ProcessMouseButtonUpEvent() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b9fa998 IdolVerse.exe!FSlateApplication::OnMouseUp() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b78932a IdolVerse.exe!FWindowsApplication::ProcessDeferredMessage() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b777dc4 IdolVerse.exe!FWindowsApplication::DeferMessage() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b78b771 IdolVerse.exe!FWindowsApplication::ProcessMessage() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b7734a6 IdolVerse.exe!FWindowsApplication::AppWndProc() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff9a532e7e8 USER32.dll!UnknownFunction [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff9a532e229 USER32.dll!UnknownFunction [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65b78cb06 IdolVerse.exe!FWindowsPlatformApplicationMisc::PumpMessages() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff6590f5d95 IdolVerse.exe!FEngineLoop::Tick() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65910e77c IdolVerse.exe!GuardedMain() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff65910e84a IdolVerse.exe!GuardedMainWrapper() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff6591118cc IdolVerse.exe!LaunchWindowsStartup() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff659123084 IdolVerse.exe!WinMain() [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff661a286ba IdolVerse.exe!__scrt_common_main_seh() [D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff9a37b7614 KERNEL32.DLL!UnknownFunction [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [Callstack] 0x00007ff9a56626a1 ntdll.dll!UnknownFunction [] [2023.03.15-07.46.30:155][465]LogWindows: Error: [2023.03.15-07.46.30:158][465]LogExit: Executing StaticShutdownAfterError [2023.03.15-07.46.30:160][465]LogWindows: FPlatformMisc::RequestExit(1) [2023.03.15-07.46.30:160][465]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3) [2023.03.15-07.46.30:160][465]LogCore: Engine exit requested (reason: Win RequestExit) [2023.03.15-07.46.30:189][465]Log file closed, 03/15/23 15:46:30

endink commented 1 year ago

MediaPipe4U 只依赖 UE 自带的 OpenCV(版本 4.5.5), opencv_world341.dll 版本是 3.4.1, 这可能是你其他插件依赖了特定的 OpenCV,如果项目中存在多个 OpenCV,请统一成 UE 自带的 OpenCV 版本,打包出问题请使用 Demo 程序打包测试,其他项目环境很多时候需要自行分析