RenderHeads / UnityPlugin-AVProMovieCapture

AVPro Movie Capture is a Unity Plugin for advanced video capture to AVI/MP4/MOV files
https://renderheads.com/products/avpro-movie-capture/
48 stars 8 forks source link

[Question] Capture Cancelled occurring after backgrounding iOS #420

Open SamJenkinsTether opened 1 month ago

SamJenkinsTether commented 1 month ago

AVPro Movie Capture Version

5.2.4

Which platform is your question for?

iOS

Your question

Our iOS builds using version 5.2.4 are pretty consistently getting a capture canceled error after backgrounding app mid-capture and returning. Can get it pretty consistently after leaving it backgrounded for around 30 seconds, but occasionally will get it even on quick backgrounds. Haven't seen it happen on android, so far.

The error: Capture cancelled Error: domain: 1, code: -11847, message: Operation Interrupted

Can I get an idea what this error might mean given the context? I didn't mark this as a bug as I'm assuming (and hoping) its just something in my set up, so happy to add any more relevant information if its needed.

Unity version: 2022.3.25f1

Chris-RH commented 1 month ago

Operation interrupted indicates that the app has lost access to the encoder hardware.

This is something that we need to investigate further.

SamJenkinsTether commented 1 month ago

I see. Let me know if there is any info I can provide to help with this

SamJenkinsTether commented 1 month ago

Hello, wanted to follow up on this. Has there been any update or do you need any info from me?

MorrisRH commented 4 weeks ago

Related to #411.

MorrisRH commented 4 weeks ago

I've not been able to reproduce this. There is a good chance that the fix for #411 has also resolved this issue. If you're still seeing this after updating to the next release (5.3.1, which should be released within the next few days) then please let us know.

Chris-RH commented 3 weeks ago

AVPro Movie Capture version 5.3.1 has been released. Please let us know if it has resolved your issue.

SamJenkinsTether commented 3 weeks ago

Thank you, will grab latest and try to reproduce. Ill update this thread either way

Chris-RH commented 3 weeks ago

Hi, have you had a chance to retest yet? :)

SamJenkinsTether commented 2 weeks ago

Hello Chris,

We just updated to version 5.3.1 and still are noticing the issue. The thing is, when I make a debug build on my local machine via Unity->Xcode, I cannot reproduce the issue. But the issue is 100% reproducible via builds that are downloaded from testflight. For the most part, the difference between my local builds and the build machine builds we build before uploading to testflight are an identical process outside of a few code signing & binary stamping things related to app store. Im trying now to test the build machine builds before they are uploaded to testflight and see if the issue is reproducible so i can narrow down whether the issue occurs only after the testflight upload process. Will report back on that specifically.

That being said, any idea if anything in the testflight process might be causing that specific issue?

Chris-RH commented 1 week ago

Have you been able to do any further testing?

SamJenkinsTether commented 2 days ago

Hi, sorry was out of town until today. Will get back to you this week on any findings re: testflight vs non-testflight.