Closed aalmada closed 5 years ago
Could you share a minimum project that reproduces the issue?
I finally figured it out! The Architecture
in the Build Settings
has to be set to x86_64
... 🤦♂️
I have the same issue. But it's weird - I only get this on one specific computer. I'm deploying my application on 4 identical computers, all running on Windows 11 and it's only happening on one of them.
The build settings were set to Intel 64-bit and the klakhap dll is also set to 64 bit.
As per https://github.com/keijiro/KlakHap/issues/21 - I was able to solve the issue by installing the VC redistributable.
When I press the Unity play button, the video plays both on the
Scene
andGame
views. When I execute outside Unity, usingBuild and Run
, the video doesn't play and I get theDllNotFoundException: KlakHap
in the logs.Unity 2019.2.1f1 KlakHap 0.1.11
I tried renaming folder
Plugin
toPlugins
and folderWindows
tox86_64
. I also tried moving the folderPlugins
toAssets
. Nothing seems to fix it...