OBS Crashes anytime I close it.

Joshua6547

New Member
Hello, kind people!
I have been struggling with my OBS crashing anytime I close it. It's been doing this for a while now and I've finally gotten to the point where I'm annoyed by it enough to reach out and ask for help! I will post the most recent log file here.


I didn't record anything during this session but it crashed upon closing, as always. I suspect it might be one of my plugins but even with them all disabled it still continues to crash so I have no idea at this point. At the time of this log, two of them were disabled and the only one enabled was my Stream Deck plugin. For some reason the "Updates" tab in "Plugin Manager" can't even be selected so I have no idea about that. I'm sorry if this is a dumb question, I'm not very tech savvy so things like this don't come naturally to me. Any help would be greatly appreciated! If you need additional information, please let me know! :D

Thank you for your time!
 
If there are crash reports (you can find them in the main menu Help of OBS) then, please, attach at least one.
 
If there are crash reports (you can find them in the main menu Help of OBS) then, please, attach at least one.
Unfortunately, there are no crash reports. However, anytime I open OBS it says "OBS Studio did not properly shut down". Then asks me if I want to run in Safe Mode or Normal Mode. :/
 
Not much info in the log above as there's no encoding session but I have some thoughts:

Your system is thin & it's low on RAM the moment OBS is opened. Close all apps not needed when using OBS. Clean-up your Scene Collection too, plenty of resources can be saved just by eliminating all of those duplicate captures. Heck start a new collection while you're troubleshooting, add just a single Source & test.
09:38:46.773: Physical Memory: 16297MB Total, 3805MB Free

Test with Avast out of the way.

Update encoding settings
09:38:48.097: Encoder ID 'jim_nvenc' is deprecated and may be removed in a future version.
09:38:48.097: Encoder ID 'jim_nvenc' is deprecated and may be removed in a future version.

09:38:49.943: Switched to scene '[Streaming] Gameplay'
09:38:49.944: ------------------------------------------------
09:38:49.944: Loaded scenes:
09:38:49.944: - scene '[Streaming] Gameplay':
09:38:49.944: - source: 'Shure Microphone' (wasapi_input_capture)
09:38:49.944: - filter: 'Gain' (gain_filter)
09:38:49.944: - filter: 'Noise Suppression' (noise_suppress_filter_v2)
09:38:49.944: - filter: 'Compressor' (compressor_filter)
09:38:49.944: - filter: 'Limiter' (limiter_filter)
09:38:49.944: - source: 'Stream Deck' (wasapi_input_capture)
09:38:49.944: - source: 'Radiant Dawn' (game_capture)
09:38:49.944: - source: 'Elgato HD60 S Capture Card' (dshow_input)
09:38:49.944: - monitoring: monitor and output
09:38:49.944: - filter: 'Gain' (gain_filter)
09:38:49.944: - source: 'Paint.net' (window_capture)
09:38:49.944: - source: 'Skribbl.io' (window_capture)
09:38:49.944: - source: 'DeSmuME Top Screen' (window_capture)
09:38:49.944: - source: 'DeSmuME Bottom Screen' (window_capture)

09:38:49.944: - source: 'Pool Code' (text_gdiplus_v3)
09:38:49.944: - source: 'Mist' (image_source)
09:38:49.944: - source: 'Powder' (image_source)
09:38:49.944: - source: 'Notification Alert' (browser_source)
09:38:49.944: - monitoring: monitor and output
09:38:49.944: - source: 'Current Event' (text_gdiplus_v3)
09:38:49.944: - source: 'Livesplit' (window_capture)
09:38:49.944: - source: 'Hide & Seek Wheel' (window_capture)

09:38:49.944: - source: 'Chat' (browser_source)
09:38:49.944: - source: 'Announcements' (image_source)

09:38:49.944: - scene '[Streaming] Thanks For Watching!!!':
09:38:49.944: - source: 'Audio Output Capture' (wasapi_output_capture)
09:38:49.944: - source: '2026 Thanks For Watching' (ffmpeg_source)
09:38:49.944: - source: 'Chat' (browser_source)
09:38:49.944: - source: 'Notification Alert' (browser_source)
09:38:49.944: - monitoring: monitor and output
09:38:49.944: - source: 'Stream Deck' (wasapi_input_capture)

09:38:49.944: - scene '[Recording] Computer Screen':
09:38:49.944: - source: 'Audio Output Capture' (wasapi_output_capture)
09:38:49.944: - source: 'Desktop Monitor #1 Capture' (monitor_capture)
09:38:49.944: - source: 'Desktop Monitor #2 Capture' (monitor_capture)

09:38:49.944: - source: 'Elgato HD60 S Capture Card' (dshow_input)
09:38:49.944: - monitoring: monitor and output
09:38:49.944: - filter: 'Gain' (gain_filter)
09:38:49.944: - source: 'Shure Microphone' (wasapi_input_capture)
09:38:49.944: - filter: 'Gain' (gain_filter)
09:38:49.944: - filter: 'Noise Suppression' (noise_suppress_filter_v2)
09:38:49.944: - filter: 'Compressor' (compressor_filter)
09:38:49.944: - filter: 'Limiter' (limiter_filter)
09:38:49.944: ------------------------------------------------
09:38:49.962: [obs-browser: 'Chat'] Error: Uncaught Error: No provider for: InjectionToken(VISIBILITY_OBSERVER) (https://www.youtube.com/s/desktop/5af4fee3/jsbin/live_chat_polymer.vflset/live_chat_polymer.js:2192)
09:38:49.967: [obs-browser: 'Chat'] Error: Uncaught Error: No provider for: InjectionToken(SHEET_CONTROLLER_TOKEN) (https://www.youtube.com/s/desktop/5af4fee3/jsbin/live_chat_polymer.vflset/live_chat_polymer.js:1883)
09:38:49.988: [obs-browser: 'Chat'] Error: Uncaught EvalError: Refused to evaluate a string as JavaScript because this document requires 'Trusted Type' assignment. (https://www.google.com/js/th/HZFpKWaPPvR6C6_bAaRlw0j4zDJMf6y8Vtl3mtgTmLA.js:2)
11:16:27.587: ==== Shutting down ==================================================
11:16:27.646: WASAPI: Device 'Microphone (RODECaster Pro II Main Stereo)' Terminated
11:16:27.661: WASAPI: Device 'Microphone (RODECaster Pro II Chat)' Terminated
 
Not much info in the log above as there's no encoding session but I have some thoughts:

Your system is thin & it's low on RAM the moment OBS is opened. Close all apps not needed when using OBS. Clean-up your Scene Collection too, plenty of resources can be saved just by eliminating all of those duplicate captures. Heck start a new collection while you're troubleshooting, add just a single Source & test.
09:38:46.773: Physical Memory: 16297MB Total, 3805MB Free

Test with Avast out of the way.

Update encoding settings
09:38:48.097: Encoder ID 'jim_nvenc' is deprecated and may be removed in a future version.
09:38:48.097: Encoder ID 'jim_nvenc' is deprecated and may be removed in a future version.

09:38:49.943: Switched to scene '[Streaming] Gameplay'
09:38:49.944: ------------------------------------------------
09:38:49.944: Loaded scenes:
09:38:49.944: - scene '[Streaming] Gameplay':
09:38:49.944: - source: 'Shure Microphone' (wasapi_input_capture)
09:38:49.944: - filter: 'Gain' (gain_filter)
09:38:49.944: - filter: 'Noise Suppression' (noise_suppress_filter_v2)
09:38:49.944: - filter: 'Compressor' (compressor_filter)
09:38:49.944: - filter: 'Limiter' (limiter_filter)
09:38:49.944: - source: 'Stream Deck' (wasapi_input_capture)
09:38:49.944: - source: 'Radiant Dawn' (game_capture)
09:38:49.944: - source: 'Elgato HD60 S Capture Card' (dshow_input)
09:38:49.944: - monitoring: monitor and output
09:38:49.944: - filter: 'Gain' (gain_filter)
09:38:49.944: - source: 'Paint.net' (window_capture)
09:38:49.944: - source: 'Skribbl.io' (window_capture)
09:38:49.944: - source: 'DeSmuME Top Screen' (window_capture)
09:38:49.944: - source: 'DeSmuME Bottom Screen' (window_capture)

09:38:49.944: - source: 'Pool Code' (text_gdiplus_v3)
09:38:49.944: - source: 'Mist' (image_source)
09:38:49.944: - source: 'Powder' (image_source)
09:38:49.944: - source: 'Notification Alert' (browser_source)
09:38:49.944: - monitoring: monitor and output
09:38:49.944: - source: 'Current Event' (text_gdiplus_v3)
09:38:49.944: - source: 'Livesplit' (window_capture)
09:38:49.944: - source: 'Hide & Seek Wheel' (window_capture)

09:38:49.944: - source: 'Chat' (browser_source)
09:38:49.944: - source: 'Announcements' (image_source)

09:38:49.944: - scene '[Streaming] Thanks For Watching!!!':
09:38:49.944: - source: 'Audio Output Capture' (wasapi_output_capture)
09:38:49.944: - source: '2026 Thanks For Watching' (ffmpeg_source)
09:38:49.944: - source: 'Chat' (browser_source)
09:38:49.944: - source: 'Notification Alert' (browser_source)
09:38:49.944: - monitoring: monitor and output
09:38:49.944: - source: 'Stream Deck' (wasapi_input_capture)

09:38:49.944: - scene '[Recording] Computer Screen':
09:38:49.944: - source: 'Audio Output Capture' (wasapi_output_capture)
09:38:49.944: - source: 'Desktop Monitor #1 Capture' (monitor_capture)
09:38:49.944: - source: 'Desktop Monitor #2 Capture' (monitor_capture)

09:38:49.944: - source: 'Elgato HD60 S Capture Card' (dshow_input)
09:38:49.944: - monitoring: monitor and output
09:38:49.944: - filter: 'Gain' (gain_filter)
09:38:49.944: - source: 'Shure Microphone' (wasapi_input_capture)
09:38:49.944: - filter: 'Gain' (gain_filter)
09:38:49.944: - filter: 'Noise Suppression' (noise_suppress_filter_v2)
09:38:49.944: - filter: 'Compressor' (compressor_filter)
09:38:49.944: - filter: 'Limiter' (limiter_filter)
09:38:49.944: ------------------------------------------------
09:38:49.962: [obs-browser: 'Chat'] Error: Uncaught Error: No provider for: InjectionToken(VISIBILITY_OBSERVER) (https://www.youtube.com/s/desktop/5af4fee3/jsbin/live_chat_polymer.vflset/live_chat_polymer.js:2192)
09:38:49.967: [obs-browser: 'Chat'] Error: Uncaught Error: No provider for: InjectionToken(SHEET_CONTROLLER_TOKEN) (https://www.youtube.com/s/desktop/5af4fee3/jsbin/live_chat_polymer.vflset/live_chat_polymer.js:1883)
09:38:49.988: [obs-browser: 'Chat'] Error: Uncaught EvalError: Refused to evaluate a string as JavaScript because this document requires 'Trusted Type' assignment. (https://www.google.com/js/th/HZFpKWaPPvR6C6_bAaRlw0j4zDJMf6y8Vtl3mtgTmLA.js:2)
11:16:27.587: ==== Shutting down ==================================================
11:16:27.646: WASAPI: Device 'Microphone (RODECaster Pro II Main Stereo)' Terminated
11:16:27.661: WASAPI: Device 'Microphone (RODECaster Pro II Chat)' Terminated
Hello!
Sorry for the late reply but I ended up cleaning up the scenes and deleting duplicate sources or sources that are no longer in use. It still doesn't close correctly, even with unnecessary programs closed. I had no idea about the RAM issue though, I guess it's time to upgrade to something a bit stronger! I really appreciate the feedback!
 
Your system is still viable assuming it's running with no issues. Your first log had basically no info after the Scenes loaded. Post the new log after you made the changes. It may contain additional info.
 
Your system is still viable assuming it's running with no issues. Your first log had basically no info after the Scenes loaded. Post the new log after you made the changes. It may contain additional info.
Sounds good! I will actually be live again here in a couple days so I'll just post a fresh log then! I really appreciate your help!
 
That slight Rendering Lag is GPU overload & there's some additional encoding lag.

1. Finish cleaning-up the "Primary" Scene. It's still bugged with (1) Game & (3) Window captures.

2. Encoding settings - Change your Preset to P5 (Faster) & change Multi-pass from fullres to qres (this will decrease render times/faster). Makes changes on both encodings.

3) Recording only - Zero B Frames & disable Lookahead & Visual Tuning.

18:31:13.016: [obs-nvenc: 'advanced_video_stream'] settings:
18:31:13.016: codec: H264
18:31:13.016: rate_control: CBR
18:31:13.016: bitrate: 7000
18:31:13.016: keyint: 60
18:31:13.016: preset: p6
18:31:13.016: tuning: hq
18:31:13.016: multipass: fullres
18:31:13.016: profile: high
18:31:13.016: width: 1920
18:31:13.016: height: 1080
18:31:13.016: b-frames: 2
18:31:13.016: b-ref-mode: 0
18:31:13.016: lookahead: true (16 frames)
18:31:13.016: aq: true
18:31:13.016:
18:31:13.093: ---------------------------------
18:31:13.093: [FFmpeg aac encoder: 'adv_stream_audio'] bitrate: 320, channels: 2, channel_layout: stereo, track: 1
18:31:13.093:

18:31:13.154: [obs-nvenc: 'advanced_video_recording'] settings:
18:31:13.154: codec: H264
18:31:13.154: rate_control: CQP
18:31:13.154: cqp: 20
18:31:13.154: keyint: 60
18:31:13.154: preset: p6
18:31:13.154: tuning: hq
18:31:13.154: multipass: fullres
18:31:13.154: profile: high
18:31:13.154: width: 1920
18:31:13.154: height: 1080
18:31:13.154: b-frames: 2
18:31:13.154: b-ref-mode: 0
18:31:13.154: lookahead: true (16 frames)

18:31:13.154: aq: true

22:27:08.205: Output 'adv_file_output': stopping
22:27:08.205: Output 'adv_file_output': Total frames output: 849268
22:27:08.205: Output 'adv_file_output': Total drawn frames: 849200 (849294 attempted)
22:27:08.205: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 94 (0.0%)
22:27:08.208: ==== Recording Stop ================================================
22:27:08.346: warning: Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
22:27:08.433: warning: 2 frames left in the queue on closing
22:27:08.433: warning: 2 frames left in the queue on closing
22:31:14.127: [rtmp stream: 'adv_stream'] User stopped the stream
22:31:14.127: [rtmp stream: 'adv_stream'] Socket send buffer is 2097152 bytes
22:31:14.127: Output 'adv_stream': stopping
22:31:14.128: Output 'adv_stream': Total frames output: 864019
22:31:14.128: Output 'adv_stream': Total drawn frames: 863966 (864062 attempted)
22:31:14.128: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 96 (0.0%)
22:31:14.129: Video stopped, number of skipped frames due to encoding lag: 150/864048 (0.0%)

22:31:14.134: ==== Streaming Stop ================================================
22:31:14.362: warning: 2 frames left in the queue on closing
22:48:58.716: ==== Shutting down ==================================================
22:48:58.740: WASAPI: Device 'Microphone (RODECaster Pro II Main Stereo)' Terminated
22:48:58.768: WASAPI: Device 'Microphone (RODECaster Pro II Chat)' Terminated
22:48:58.778: WASAPI: Device 'Desktop Microphone (RODECaster Pro II Secondary)' Terminated
 
Back
Top