diff --git a/Packages/com.github.homuler.mediapipe/Runtime/Scripts/Tasks/Components/Containers/Landmark.cs b/Packages/com.github.homuler.mediapipe/Runtime/Scripts/Tasks/Components/Containers/Landmark.cs index 4012540c6..dcc104d5a 100644 --- a/Packages/com.github.homuler.mediapipe/Runtime/Scripts/Tasks/Components/Containers/Landmark.cs +++ b/Packages/com.github.homuler.mediapipe/Runtime/Scripts/Tasks/Components/Containers/Landmark.cs @@ -281,7 +281,7 @@ public static void FillWith(this List target, NativeLandmarksArray so { var landmarks = target[i]; Landmarks.Copy(nativeLandmarks, ref landmarks); - target[i] = landmarks; + target[i++] = landmarks; } } @@ -294,7 +294,7 @@ public static void FillWith(this List target, NativeNormali { var landmarks = target[i]; NormalizedLandmarks.Copy(nativeLandmarks, ref landmarks); - target[i] = landmarks; + target[i++] = landmarks; } } }