UnityPlugin-AVProMovieCapture icon indicating copy to clipboard operation
UnityPlugin-AVProMovieCapture copied to clipboard

[Bug] Cancelled captures aren't removed from the Windows folder

Open beluartemis opened this issue 1 year ago • 1 comments

Unity Version

2022.3.23f1

AVPro Movie Capture Version

5.2.4

Which platform(s) are you using?

Windows

Which OS version(s) are you using?

No response

Which rendering API(s) are you using?

No response

Hardware

MSI 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz 2.30 GHz RAM 32,0 GB NVIDIA GeForce RTX 3060

Which capture component are you using?

Capture From Screen

Capture mode

Realtime

Which output mode are you using?

Video file

Video codecs

H264

Audio source

None

Audio codecs

AAC

Any other component configuration

Screenshot_967 Screenshot_966 Screenshot_965

The issue

In some instances, when I cancel the capture by calling the method CancelCapture or by clicking Cancel on the UI button from the inspector, the capture got cancel but the temporal file isn't deleted correctly from the output windows folder (in this case MyVideos). The canceled temporal file remains and it appears without its thumbnail in the folder. When I try to open it, I get an error saying 'Unable to reproduce due to a corrupt file'. This issue is also causing that, as soon as I want to exit from runtime mode in Unity, the app freezes and force quit is needed. This issue only occurs with the Cancel action, non with the Stop or Pause.

Screenshot_968

image

image02

Log output

No response

beluartemis avatar May 15 '24 19:05 beluartemis

Easily reproduced in screen/texture capture. Not reproduced in camera capture

Chris-RH avatar May 24 '24 12:05 Chris-RH

AVPro Movie Capture version 5.3.2 has been released. Please let us know if it has not fixed your issue.

Chris-RH avatar Oct 02 '24 17:10 Chris-RH