netpyoung / unity.webp

:art: WebP made easy for Unity3d
https://netpyoung.github.io/unity.webp/
MIT License
237 stars 28 forks source link

DLLNotFoundException on PC build #34

Open MisterFOnGitHub opened 2 years ago

MisterFOnGitHub commented 2 years ago

I created a PC Win64 project with Unity that includes your WebP encoder. The EXE runs fine on my development machine. However, I copied the build on another PC that doesn't have anything but Windows 10 installed for testing, and I get a DLLNotFoundException on libwebp.dll. Is there any specific dependency for this DLL ?

netpyoung commented 2 years ago

Thank you for reporting that. I also reproduce that bug using Hyper-V( host: Windows10 - x64 ) and figured out using lucasg/Dependencies

The problem of that is missing depenency VCRUNTIME140.dll as you expected.

-deps_x64

deps_x64

deps_x86

so to fix this problem

627514 commented 1 month ago

I have copied the DLL to the specified Plugins and still report an error after running it DllNotFoundException: Unable to load DLL 'webp'