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/
45 stars 8 forks source link

Error: [AVProMovieCapture] Failed to create recorder #332

Closed jhdot closed 9 months ago

jhdot commented 9 months ago

In editor works well but in iOS "Failed to create recorder" error happens.

To Reproduce Steps to reproduce the behavior:

  1. Set AVPro Movie Capture settings Photo Library Usage Description: This app requires access to the photo library to export movie. Photo Library Add Usage Description: This app requires access to add exported movie into the Photo library.
  2. Set Capture From Texture settings
    • Manual Update: true
    • Output/Folder: Photo Library
    • Visual/Frame Update Mode: Automatic
    • Audio Source: Unity
  3. Call Functions
    • SetSourceTxture()
    • StartCapture()
  4. See error Failed to create recorder

Logs Error: [AVProMovieCapture] Failed to create recorder RenderHeads.Media.AVProMovieCapture.CaptureBase:PrepareCapture() RenderHeads.Media.AVProMovieCapture.CaptureBase:StartCapture()

Screenshots Image_20231017_155109_204

PS) I tested with trial version and upgraded to 5.1.8 version by purchasing mobile version asset and clicking "Upgrade Now" button. But "Upgrade Now" button still exists. Is this normal? Screenshot 2023-10-17 at 4 33 01 PM

jhdot commented 9 months ago

To compare mobile edition, I purchased Ultimate edition too. With Ultimate edition trial logo disappeared. I think "Upgrade Now" feature does not work well. I requested to refund mobile edition.

Chris-RH commented 9 months ago

With the mobile version, the editor version is still using the trial/watermark version, but will these will not be there when you run it on iOS/Android.

Is it macOS or Windows editor that it is working in? Can you reproduce this behaviour using a fresh project and just running the AVPro Movie Capture demo scenes?

jhdot commented 9 months ago

There occurs no error If I set Output/Folder to "Relative To Persistent Data".

Chris-RH commented 9 months ago

Did you follow all the steps here: https://www.renderheads.com/content/docs/AVProMovieCapture/articles/usage-photo-library.html

jhdot commented 9 months ago

I missed inserting request authorisation scrpt. I'll test with the script. Thank you for fast help.

jhdot commented 9 months ago

It works well. Thank you so much.

Chris-RH commented 9 months ago

Great news :) You are most welcome :)