videokit icon indicating copy to clipboard operation
videokit copied to clipboard

Unity Editor freezes or the video never finishes recording after the first run

Open degerhandeger opened this issue 1 year ago • 2 comments

The issue happens on 0.0.18-alpha.8 . Steps to reproduce the issue:

  1. Play the Unity Editor for the first time
  2. Start a recording
  3. Stop the recording
  4. View the recorded video
  5. Stop the Unity Editor
  6. Play the Unity Editor (2nd time)
  7. Start a recording
  8. Stop recording
  9. Unity Editor freezes or No Recorded video from VideoKit.

The editor logs for Unity freezing & not finishing recording cases are attached.

Unity_Editor_Freezes.log VideoKit_Never_Finishes_Recording.log

degerhandeger avatar May 07 '24 15:05 degerhandeger

The issue still happen on 0.0.18-alpha.12 . The Unity Editor keeps freezing after the first run in our project. Attached are the logs.

Editor.log

degerhandeger avatar May 08 '24 09:05 degerhandeger

Still happens on 0.0.18-alpha.13 . The Unity Editor keeps freezing after the first run in our project. Attached are the logs.

Editor.log

degerhandeger avatar May 21 '24 15:05 degerhandeger

This issue is not exclusive to Windows. It happens on MacOS as well.

degerhandeger avatar May 28 '24 11:05 degerhandeger

@degerhandeger I can't reproduce this on macOS. Screenshot 2024-05-28 at 12 29 12 PM

Can you share your recorder settings? I want to first reproduce and fix it on macOS before doing the same on Windows.

olokobayusuf avatar May 28 '24 16:05 olokobayusuf

Also cannot reproduce this on Windows with the latest alpha build, alpha 15.

olokobayusuf avatar May 31 '24 13:05 olokobayusuf

The Editor continues to freeze on alpha.15 for us. I reproduced the issue by doing the steps mentioned above. Attached are the Editor logs & recorder settings. Also, I don't know whether this would be useful but, removing the Audio mode gave a different error, the Editor did not freeze when it ran for the second time. I also attached this error's screenshot.

Editor.log recorder-settings removing-audio-mode

degerhandeger avatar May 31 '24 15:05 degerhandeger

Fixed in VideoKit 0.0.18-alpha.18

olokobayusuf avatar Jun 04 '24 16:06 olokobayusuf