I was both streaming on twitch and recording at the same time and OBS just broke after 40 minutes. There was no error message, the scenes were still working (I was playing off the capture), OBS was saying there were no problems and it was sending the footage just fine. The only thing that suggested anything was wrong was my stream manager showing an error message that I saw three hours later. I tried stopping the stream and recording and both just got stopped at "stopping stream" and "stopping recording". I tried closing the app normally but I couldn't, I had to close it from task manager. I checked the recording and it was corrupted. I started streaming again and the same exact thing happened again another 40 minutes later. I resumed stream again and didn't encounter anymore problems after that. Do you know how to fix this problem? I also don't know how to recover video files, I need help with that as well.