I run VMWare Win10 and Unity was set up there. Also on my host PC (win10 as well), I have Unity where I can run my Unity project without any problem. Then I zipped my Unity project and through file exchange moved it to my VM machine where unzipped it and run with Unity.
Problem is that when I try to run this project on VM I get an error `dll not found exception`, it is strange because first of all on my host PC this project works well, and secondly, I added all possible dependency dll under `C:\buffer\coSample\coSample\Assets\coPlayer\Plugins`
![alt text][1]
So, I tried to found out what is a possible issue, I opened `dependency walker` in order to check may be some problems there
![alt text][2]
but looks like everything is ok there.
Then I checked the Unity log file. This file is far too long so I added it to the GitHub gist
https://gist.github.com/alekseytimoshchenko/3edbcd4baeed7e162c715a91225e348b
but what I noticed there is
...
DllNotFoundException: coDecoderEngine
at (wrapper managed-to-native) coCAPI.register_debug_callback(coCAPI/DebugCallback)
at coCAPI.register_debug_callback_default () [0x00000] in C:\buffer\coSample\coSample\Assets\coPlayer\Runtime\Scripts\coCAPI.cs:54
at coPlayer.StartStream (System.String pathToFile, System.Boolean noAudio) [0x00000] in C:\buffer\coSample\coSample\Assets\coPlayer\Runtime\Scripts\coPlayer.cs:302
at coPlayerGpu.StartStream (System.String pathToFile, System.Boolean noAudio) [0x00000] in C:\buffer\coSample\coSample\Assets\coPlayer\Runtime\Scripts\coPlayerGpu.cs:63
at coPlayer+d__77.MoveNext () [0x00051] in C:\buffer\coSample\coSample\Assets\coPlayer\Runtime\Scripts\coPlayer.cs:340
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <04258d1cdc1044248c2a17a6a31a3cf7>:0
...
the same exception that I see in Unity editor, but what causes it? Dll that described in the log as not found `coDecoderEngine` actually there (screenshot above)
So, the question is - how to find out what is a problem with dll? Which dll Unity is trying to find? Could it be possible that somehow this exception due to I am trying to running it on VMware?
[1]: /storage/temp/174360-screenshot.png
[2]: /storage/temp/174364-screenshot2.png
↧