unity.webp
unity.webp copied to clipboard
DLLNotFoundException on PC build
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 ?
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_x86
so to fix this problem
- copy dll to plugin's directory
- x64: copy
C:\Windows\System32\vcruntime140.dlltobuild_dir\Plugins\x86_64\ - x86: copy
C:\Windows\SysWOW64\vcruntime140.dlltobuild_dir\Plugins\x86\
- x64: copy
- or guide to install Visual C++ Redistributable for Visual Studio 2015hosting machine