Crash on IOS - VKTRecorderCommitSamples
I'm having an issue when recording, after 1 or 2 minutes of use the app simply closes. Do you have any idea why this problem is happening?
Video Kit 0.0.18 alpha 2
I updated to alpha 7 and resolved all conflicts, however, I am unable to record due to this error. I have not modified my setup; would there be any other adjustment required?
Error on Init Recording
Log
EntryPointNotFoundException: VKTRecorderAppendPixelBuffer assembly:<unknown assembly> type:<unknown type> member:(null)
VideoKit.MediaRecorder.CommitFrame (System.Void* pixelBuffer, System.Int64 timestamp) (at ./Library/PackageCache/[email protected]/Runtime/MediaRecorder.cs:501)
VideoKit.MediaRecorder.CommitFrame[T] (T[] pixelBuffer, System.Int64 timestamp) (at ./Library/PackageCache/[email protected]/Runtime/MediaRecorder.cs:476)
VideoKit.VideoKitRecorder.PrepareEncoder () (at ./Library/PackageCache/[email protected]/Runtime/Components/VideoKitRecorder.cs:696)
VideoKit.VideoKitRecorder.Awake () (at ./Library/PackageCache/[email protected]/Runtime/Components/VideoKitRecorder.cs:633)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <f7237cf7abef49bfbb552d7eb076e422>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <f7237cf7abef49bfbb552d7eb076e422>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <f7237cf7abef49bfbb552d7eb076e422>:0)
Setup
More info
Tested using Unity 2022.3.16f1. VideoKit 0.0.18 alpha 7 The builds for Android and IOS are also not functioning.
Alpha 2 works perfectly on Android. However, the reported error occurs rarely on iPhone, and it happens frequently on iPad. If I set the resolution to VideoKitRecorder.Resolution.Screen, the error occurs less frequently on the iPad. However, any other resolution crashes.
Alpha 8 is coming soon (EOD today or tomorrow) with a substantial rewrite. Hang tight.
Is there any news about the new alpha? I've been having this problem for 3 weeks and it's causing some concerns among the team.
@Polotas Just invited you to the next alpha. You'll need to manually copy the ai.natml.videokit folder in Packages and place it in your project's Packages folder.
This issue has been fixed in the latest VideoKit alpha builds.