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

webgl-camera-error bug #90

Closed stusman closed 5 months ago

stusman commented 10 months ago

Hello. This problem appeared after I do videoKitCameraManager.StartRunning(). After the build on webgl. VideoKit version 0.0.17.

ArgumentNullException: Value cannot be null.
Parameter name: source
  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <00000000000000000000000000000000>:0 
--- End of stack trace from previous location where exception was thrown ---

My full stack trace of the exception: _videokit.log

My code: image

olokobayusuf commented 5 months ago

Fixed in VideiKit 0.0.18.