I don't know if anyone is really going to help me or care too, but recently since version 25.0.4 came out, OBS Studio has become really unstable and crashes more then it should. I was streaming Valorant and The Sims 4 and in the MIDDLE of my stream, I suddenly see "An Encoder Error has occurred". I go to check the log file and noticed this strange little bit of code here. I think that is where the error happened. I really really hope that the OBS Team is aware of this issue because I am NOT the only person to have this issue as MANY people in the Discord have said the exact same issue of crashing and unstableness with OBS 25.0.4. I don't understand what is going at all.
Code:
22:58:03.036: [jim-nvenc: 'streaming_h264'] get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 4 (NV_ENC_ERR_INVALID_DEVICE)
22:58:03.036: Error encoding with encoder 'streaming_h264'
22:58:03.054: [rtmp stream: 'adv_stream'] Encoder error, disconnecting
22:58:03.054: Output 'adv_stream': stopping
22:58:03.055: Output 'adv_stream': Total frames output: 420492 (421442 attempted)
22:58:03.055: Output 'adv_stream': Total drawn frames: 421367 (421540 attempted)
22:58:03.055: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 173 (0.0%)
22:58:03.055: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 950 (0.2%)
22:58:03.054: Video stopped, number of skipped frames due to encoding lag: 174/421524 (0.0%)