unity3d-jp / FrameCapturer

export framebuffer, GBuffer or any RenderTextures from Unity to file. supported format: png, exr, gif, webm, mp4
MIT License
1.05k stars 165 forks source link

Crash on FrameCapturer.fcAPI:fcReleaseStream when stopping recording #41

Open KarolisKl opened 5 years ago

KarolisKl commented 5 years ago

How to reproduce:

  1. Open the "cinemachine test.zip" in Unity 2018.3 (O ther versions may have namespace errors)
  2. Open Window - General - Recorder - Recorder Window
  3. Press "Start Recording"
  4. Press "Stop Recording"

cinemachine_test.zip

Result: Unity crashes

Top of stack trace: ========== OUTPUTTING STACK TRACE ==================

0x000000005C9DAD93 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Recorder.FrameCapturer.fcAPI:fcReleaseStream (UnityEditor.Recorder.FrameCapturer.fcAPI/fcStream) 0x000000005C9DAC33 (Mono JIT Code) [C:\Users\G-PC\Downloads\cinemachine_test\Assets\Unity Recorder\Editor\Sources\Recorders_Legacy\FrameCapturer\Scripts\Encoder\fcAPI.cs:70] UnityEditor.Recorder.FrameCapturer.fcAPI/fcStream:Release () 0x000000005C9DA803 (Mono JIT Code) [C:\Users\G-PC\Downloads\cinemachine_test\Assets\Unity Recorder\Editor\Sources\Recorders\GIFRecorder\GIFRecorder.cs:24] UnityEditor.Recorder.GIFRecorder:EndRecording (UnityEditor.Recorder.RecordingSession)

========== END OF STACKTRACE ===========

i-saint commented 5 years ago

thanks for the clear report.