natmlx / natml-unity

High performance, cross-platform machine learning for Unity Engine.
Apache License 2.0
228 stars 25 forks source link

Error Unity ArgumentException: Cannot create video type because file does not exist #20

Closed acttoz closed 2 years ago

acttoz commented 2 years ago

I got error that message on Android app that build from "MoveNet - Realtime Pose Tracking Asset" on Pure project with NatML.

2022-07-25 16:02:31.976 3635 3841 Error Unity ArgumentException: Cannot create video type because file does not exist 2022-07-25 16:02:31.976 3635 3841 Error Unity Parameter name: path 2022-07-25 16:02:31.976 3635 3841 Error Unity at NatML.Types.MLVideoType.FromFile (System.String path) [0x00008] in <71dcb528a4714f368de49dbc80a1eac2>:0 2022-07-25 16:02:31.976 3635 3841 Error Unity at NatML.Features.MLVideoFeature..ctor (System.String path) [0x0001c] in <71dcb528a4714f368de49dbc80a1eac2>:0 2022-07-25 16:02:31.976 3635 3841 Error Unity at NatML.Examples.MoveNetSample.Start () [0x000bb] in <1fb9cbf6e39241a08e13d815d2d204fc>:0 2022-07-25 16:02:31.976 3635 3841 Error Unity at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) [0x00000] in <0bfb382d99114c52bcae2561abca6423>:0 2022-07-25 16:02:31.976 3635 3841 Error Unity at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00002] in :0 2022-07-25 16:02:31.976 3635 3841 Error Unity at UnityEngine.UnitySynchronizationContext.Exec () [0x00056] in :0 2022-07-25 16:02:31.976 3635 3841 Error Unity at UnityEngine.UnitySynchronizationContext.ExecuteTasks () [0x00014] in :0

olokobayusuf commented 2 years ago

Ah we'll be updating the MoveNet sample to use the camera preview instead. Will share this later today.

acttoz commented 2 years ago

Hello. Thank you for reply. Can I get updated to the MoveNet sample to use the camera preview instead asset?

olokobayusuf commented 2 years ago

Hello. Thank you for reply. Can I get updated to the MoveNet sample to use the camera preview instead asset?

Here you go 😄