endink / Mediapipe4u-plugin

378 stars 52 forks source link

Packed EXE - #162

Closed COcisuts closed 6 months ago

COcisuts commented 6 months ago

MediaPipe4U Version

2022.1.1.20231011

UE Version

5.2.x

UnrealEngine Type

Install From Epic Games Launcher

Platform

Windows

What happened?

Greetings! I get an error on packed exe: 0]LogMediaPipe: Error: The MediaPipeHolisticComponent could not be found in the current level just after a: 0]LogMediaPipe: Display: GroundIKSolver initialized.

If i press 2 times on the start capture button i get:

[2024.05.08-14.59.11:665][775]LogMediaPipeLiveLink: Display: MediaPipe face link prepared, current solution : MediaPipe
[2024.05.08-14.59.11:665][775]LogMediaPipe: Display: [MediaPipa API] MediaPipe builtin graph used (CPU).
[2024.05.08-14.59.11:665][775]LogMediaPipe: Display: [MediaPipa API] MediaPipe pipeline stopping...
[2024.05.08-14.59.11:665][775]LogMediaPipe: Display: [MediaPipa API] UmpPipeline::Shutdown OK
[2024.05.08-14.59.11:665][775]LogMediaPipe: Display: [MediaPipa API] MediaPipe pipeline stopped.
[2024.05.08-14.59.11:666][775]LogMediaPipe: Display: [MediaPipa API] MediaPipe graph nodes: 6

[2024.05.08-14.59.11:666][775]LogMediaPipe: Display: [MediaPipa API] Run mediapipe graph...
[2024.05.08-14.59.11:685][775]LogMediaPipe: Display: [MediaPipa API] Configure mediapipe graph succeed.
[2024.05.08-14.59.11:685][775]LogMediaPipe: Display: [MediaPipa API] Prepare mediapipe face task.
[2024.05.08-14.59.11:686][775]LogMediaPipe: Error: Unable to find mediapipe model file: modules/face_landmarker_v2_with_blendshapes.task
[2024.05.08-14.59.11:686][775]LogMediaPipe: Error: Unable to find mediapipe model file: modules/face_landmarker_with_blendshapes.task
[2024.05.08-14.59.11:691][775]LogMediaPipe: Error: [MediaPipa API] Failed to run mediapipe graph.
FAILED_PRECONDITION: Failed to read resource:
face_landmarker.task
face_landmarker_v2.task
[2024.05.08-14.59.11:691][775]LogMediaPipe: Display: [MediaPipa API] MediaPipe pipeline stopping...
[2024.05.08-14.59.11:692][775]LogMediaPipe: Display: [MediaPipa API] UmpPipeline::Shutdown OK
[2024.05.08-14.59.11:693][775]LogMediaPipe: Display: [MediaPipa API] MediaPipe pipeline stopped.
[2024.05.08-14.59.11:693][775]LogMediaPipe: Error: Unable to start mediapipe pipline.
[2024.05.08-14.59.24:744][375]LogElectraPlayer: [000001193984F9A0][00000119283C6950] Looping (12) from 33.046 to 0.000
[2024.05.08-14.59.34:425][710]LogMediaPipe: Display: Wait for the dynamic texture to stop rendering...
[2024.05.08-14.59.34:425][710]LogMediaPipe: Display: Dynamic texture rendering has stopped
[2024.05.08-14.59.34:426][710]LogMediaPipe: Display: ~FDynamicTexture 000001197B02BBC0
[2024.05.08-14.59.34:426][710]LogMediaPipeLiveLink: Display: MediaPipe face link prepared, current solution : MediaPipe
[2024.05.08-14.59.34:426][710]LogMediaPipe: Display: [MediaPipa API] MediaPipe builtin graph used (CPU).
[2024.05.08-14.59.34:427][710]LogMediaPipe: Display: [MediaPipa API] MediaPipe pipeline stopping...
[2024.05.08-14.59.34:427][710]LogMediaPipe: Display: [MediaPipa API] UmpPipeline::Shutdown OK
[2024.05.08-14.59.34:427][710]LogMediaPipe: Display: [MediaPipa API] MediaPipe pipeline stopped.
[2024.05.08-14.59.34:428][710]LogMediaPipe: Display: [MediaPipa API] MediaPipe graph nodes: 6

[2024.05.08-14.59.34:428][710]LogMediaPipe: Display: [MediaPipa API] Run mediapipe graph...
[2024.05.08-14.59.34:444][710]LogMediaPipe: Display: [MediaPipa API] Configure mediapipe graph succeed.
[2024.05.08-14.59.34:444][710]LogMediaPipe: Display: [MediaPipa API] Prepare mediapipe face task.
[2024.05.08-14.59.34:445][710]LogMediaPipe: Error: Unable to find mediapipe model file: modules/face_landmarker_v2_with_blendshapes.task
[2024.05.08-14.59.34:445][710]LogMediaPipe: Error: Unable to find mediapipe model file: modules/face_landmarker_with_blendshapes.task
[2024.05.08-14.59.34:448][710]LogMediaPipe: Error: [MediaPipa API] Failed to run mediapipe graph.
FAILED_PRECONDITION: Failed to read resource:
face_landmarker.task
face_landmarker_v2.task
[2024.05.08-14.59.34:449][710]LogMediaPipe: Display: [MediaPipa API] MediaPipe pipeline stopping...
[2024.05.08-14.59.34:449][710]LogMediaPipe: Display: [MediaPipa API] UmpPipeline::Shutdown OK
[2024.05.08-14.59.34:449][710]LogMediaPipe: Display: [MediaPipa API] MediaPipe pipeline stopped.
[2024.05.08-14.59.34:450][710]LogMediaPipe: Error: Unable to start mediapipe pipline.

Didn't get errors during compilation, just warnings and everything works fine in editor. Should i pack the project with some specific settings? Thanks for attention. Best Regards. Great tools!

endink commented 6 months ago

its a known issue in this version. But you can fix it manually.

Refer: #130

COcisuts commented 6 months ago

Great! Is working! Thanks!

endink commented 6 months ago

It fixed in version 202405XX