-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DllNotFoundException thrown when selecting a different target platform #138
Comments
That's weird. You're using macOS, but it seems to use the Windows DLL ( |
Or, are you using a plugin that imitates the Windows environment? Could you check if the issue reproduces with a simple minimal project that only include KlakNDI? |
In university i am using a windows machine and the build settings are for windows, but on my private computer i am using mac os and i want to work on this project. |
Okay. I reproduced the issue by switching the Target Platform to Windows on macOS Unity Editor. This issue should be fixed in the next update. Until then, please avoid the problem by switching the Target Platform to macOS while developing the project on Editor. I think you can switch it back to Windows when building the project. |
Hey keijiro - thanks for your help. it is working fine! Nice plugin! |
Fixed in 2.0.2 |
HEy keijiro, thanks for this cool plugin. Unfortunately I am not pretty sure, if I am wrong in configuration or if there is a bug. I am trying to get NDI streams into Unity (2021.1.26f1 / macos bigsur). After adding your plugin by modifying the the manifest as explained, I tried to add the NDI receiver to an plane, to preview the NDI stream. But it always ends up in an DllNotFoundException:
DllNotFoundException: Processing.NDI.Lib.x64
Klak.Ndi.Interop.Find.Create () (at Library/PackageCache/jp.keijiro.klak.ndi@2.0.1/Runtime/Interop/Find.cs:24)
Klak.Ndi.SharedInstance.InitializeFind () (at Library/PackageCache/jp.keijiro.klak.ndi@2.0.1/Runtime/Internal/SharedInstance.cs:27)
Klak.Ndi.SharedInstance.get_Find () (at Library/PackageCache/jp.keijiro.klak.ndi@2.0.1/Runtime/Internal/SharedInstance.cs:10)
Klak.Ndi.RecvHelper.FindSource (System.String sourceName) (at Library/PackageCache/jp.keijiro.klak.ndi@2.0.1/Runtime/Internal/RecvHelper.cs:10)
Klak.Ndi.RecvHelper.TryCreateRecv (System.String sourceName) (at Library/PackageCache/jp.keijiro.klak.ndi@2.0.1/Runtime/Internal/RecvHelper.cs:17)
Klak.Ndi.NdiReceiver.PrepareReceiverObjects () (at Library/PackageCache/jp.keijiro.klak.ndi@2.0.1/Runtime/Component/NdiReceiver.cs:19)
Klak.Ndi.NdiReceiver.TryReceiveFrame () (at Library/PackageCache/jp.keijiro.klak.ndi@2.0.1/Runtime/Component/NdiReceiver.cs:41)
Klak.Ndi.NdiReceiver.Update () (at Library/PackageCache/jp.keijiro.klak.ndi@2.0.1/Runtime/Component/NdiReceiver.cs:79)
Maybe you have an advise, how to fix this?
Thanks and best, Tim
The text was updated successfully, but these errors were encountered: