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.
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
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.
Log output
No response