adrenak / GPUVideoPlayer

Fast video playback on Unity using GPU Decoding
MIT License
128 stars 29 forks source link

DLL not found exception #8

Open spaul13 opened 5 years ago

spaul13 commented 5 years ago

I am running GPUVideoPlayer on a Windows 64 bit PC on Unity 2018.1.0b4. I am getting the following error of DLLNotFound Exception. Can you please tell me why I am getting this error and what specific modules are missing.

Error _DllNotFoundException: MediaPlayback Adrenak.GPUVideoPlayer.GPUVideoPlayer+c_Iterator0.MoveNext () (at Assets/Adrenak/GPUVideoPlayer/Scripts/GPUVideoPlayer.cs:187) UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17) DllNotFoundException: MediaPlayback Adrenak.GPUVideoPlayer.GPUVideoPlayer.Unload () (at Assets/Adrenak/GPUVideoPlayer/Scripts/GPUVideoPlayer.cs:209) Adrenak.GPUVideoPlayer.GPUVideoPlayer.OnDisable () (at Assets/Adrenak/GPUVideoPlayer/Scripts/GPUVideoPlayer.cs:235)

_Warning Plugins: Failed to load 'Assets/Adrenak/GPUVideoPlayer/Plugins/x86_64/MediaPlayback.dll' with error 'The specified module could not be found. '. UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) Plugins: Failed to load 'Assets/Adrenak/GPUVideoPlayer/Plugins/x8664/MediaPlayback.dll' with error 'The specified module could not be found. '. Adrenak.GPUVideoPlayer.cIterator0:MoveNext() (at Assets/Adrenak/GPUVideoPlayer/Scripts/GPUVideoPlayer.cs:191) Adrenak.GPUVideoPlayer.cIterator0:MoveNext() (at Assets/Adrenak/GPUVideoPlayer/Scripts/GPUVideoPlayer.cs:187)

adrenak commented 5 years ago

Hi, another user has reported this error however I have not been able to see it myself. Did you find a solution for this?

adrenak commented 5 years ago

Also, someone else had this issue too and turns out the issue was the the DLL import settings were not set to x86_x64