Bug Report OBS duplicating scenes "randomly" and crashing on close

Akkuma

New Member
My OBS exhibited some really strange behaviour yesterday when I started switching scene collections all of a sudden the scenes within a scene collection started duplicating. I tried to remove them, but it didn't help at all as OBS would still crash and the scenes in the collection would start duplicating. I hand edited the json file to try to remedy the situation and that didn't work. Each scene collection I had would get "corrupted" and even after removing all scene collections and creating a new blank scene exhibited the problem. I finally tried to copy the hand edited json that works on initial load and that appeared to remedy the situation for now.

Has anyone else seen the behaviour where you get "scene collection corruption plague" and knows what causes it? The JSON had duplicate references to the scenes and they were also duplicated in the sources.

Crash log: https://gist.github.com/Akkuma/c3110f19fc1e8538e132ce1b6d4a3af4
 

RytoEX

Forum Admin
Forum Moderator
Developer
Yes, I've seen this once a very long time ago, but only if you had an older version of the Advanced Scene Switcher installed. In your plugins folders (usually "C:\Program Files (x86)\obs-studio\obs-plugins\32bit" and "C:\Program Files (x86)\obs-studio\obs-plugins\64bit"), do you have SceneSwitcher.dll or advanced-scene-switcher.dll installed?

Can you manually upload a regular log file for a session where this happens? Log files are found here: %APPDATA%\obs-studio\logs
 

Akkuma

New Member
Yes, I've seen this once a very long time ago, but only if you had an older version of the Advanced Scene Switcher installed. In your plugins folders (usually "C:\Program Files (x86)\obs-studio\obs-plugins\32bit" and "C:\Program Files (x86)\obs-studio\obs-plugins\64bit"), do you have SceneSwitcher.dll or advanced-scene-switcher.dll installed?

Can you manually upload a regular log file for a session where this happens? Log files are found here: %APPDATA%\obs-studio\logs
Unfortunately I missed the notification and don't have the log for it still I believe as the oldest one doesn't match what I was seeing. I don't see either of those plugins installed either :-/

I have yet to see it happen again, but after multiple years with OBS that was the first catastrophic bug of the kind I've seen. The closest thing I believe happened is that Scene Collection switching causes the corruption if you switch back and forth too quickly as that seemed to be part of when the problem arose.
 

RytoEX

Forum Admin
Forum Moderator
Developer
Do you have any third-party plugins installed at all? The crash is occurring when scene items are being destroyed (when you close a scene collection), but without knowing what sources are in your scene collection, it's hard to pinpoint which source is causing the problem. If it's some kind of race condition, then it's probably going to be very difficult for us to pinpoint it in general, but a regular log showing sources would be a start.
 
Top