videokit-ai / videokit

Low-code, cross-platform media SDK for Unity Engine. Register at https://videokit.ai
https://videokit.ai
Apache License 2.0
107 stars 14 forks source link

Unsupported devices causing crashes/hangs #126

Open nickhudson4 opened 5 months ago

nickhudson4 commented 5 months ago

Devices with issues: Avermedia GC573 and NDI Virtual Cam.

the GC573 causes a crash and the NDI source causes a freeze. Is it possible to catch an unsupported device before it causes an issue? Or maybe hide these devices entirely?

We are using VideoKit as a runtime tool where the end user can selected devices. So crashes and freezes aren't ideal.

To Reproduce

Alpha 18 Windows 11 Unity 2022.3.9

olokobayusuf commented 5 months ago

@nickhudson4 can you share the Editor logs from the crash and hang?

nickhudson4 commented 5 months ago

EditorFreeze.log It allows me to switch to the device. The freeze happens when stopping it. Specifically at this plugin call public static extern Status StopRunning (this IntPtr device);

EditorCrash.log

nickhudson4 commented 1 week ago

Any update on this? @olokobayusuf