homuler / MediaPipeUnityPlugin

Unity plugin to run MediaPipe
MIT License
1.78k stars 462 forks source link

Building Project results in black screen #340

Closed GearType closed 2 years ago

GearType commented 2 years ago

I am able to successfully play the Start Scene and access the various demos from within Unity, but when I build the project (including all scenes), the build launches but the screen is black. Are there specific prerequisites and settings needed to run a build outside of Unity? Running on Windows 10.

homuler commented 2 years ago

Please read the log first and check to see if the same issue has already been created or resolved. If you don't find any similar issues, then use this format and share the log.

GearType commented 2 years ago

Thank you, and appreciate the development.

yiusay commented 2 years ago

For people who encounter this issue in the future, I solved the issue as follow.

In the Project window, go to Packages/MediaPipe Plugin/Runtime/Plugin. Then, select libmediapipe_c.dll and, in the inspector, check "Load on startup" and click "Apply".