KlakNDI icon indicating copy to clipboard operation
KlakNDI copied to clipboard

DllNotFoundException on Android devices with MediaTek chips

Open marvpaul opened this issue 2 years ago • 6 comments

In Unity Analytics I get the following exception on several devices:

DllNotFoundException: Unable to load DLL 'ndi'. Tried the load the following dynamic libraries: Unable to load dynamic library 'ndi' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen failed: library "ndi" not found

Stacktrace:


Klak.Ndi.Interop.Find.Create () (at <00000000000000000000000000000000>:0)
Klak.Ndi.SharedInstance.get_Find () (at <00000000000000000000000000000000>:0)
Klak.Ndi.NdiFinder.EnumerateSourceNames () (at <00000000000000000000000000000000>:0)
SourceSelector.Update () (at <00000000000000000000000000000000>:0)
Screenshot 2023-02-25 at 22 15 38

Do you have any idea what could be the problem here?

marvpaul avatar Feb 25 '23 09:02 marvpaul

Could you explain what the screenshot means?

keijiro avatar Feb 25 '23 12:02 keijiro

It’s a screenshot from Unity Analytics where it shows the devices on which the error occur as well as the app and os version.

marvpaul avatar Feb 25 '23 19:02 marvpaul

Thanks for the clarification. Could you reveal the shortened device names? ("motorola/mo..." and "motorola/moto e(7) po...")

keijiro avatar Feb 26 '23 10:02 keijiro

@keijiro it's: motorola / moto g pure / ellis, Xiaomi / M2006C3LII / dandelion, Xiaomi / M2006C3LI / dandelion

marvpaul avatar Feb 26 '23 10:02 marvpaul

Thanks for the clarification. The common point of those devices is the MediaTek Helio chip. Samsung SM-J610FN is the only exception.

I have no further idea about this problem. "My app crashes only on MediaTek phones!" is a very common problem among Android devs. I don't know how to deal with it, though.

keijiro avatar Feb 26 '23 11:02 keijiro

Alright - thanks a lot for the fast response!

marvpaul avatar Feb 26 '23 11:02 marvpaul

I close this issue now. Please reopen it if it still reproduces with the latest version (2.1.1)

keijiro avatar Jun 12 '24 08:06 keijiro