Off-World-Live / obs-spout2-plugin

A Plugin for OBS Studio to enable Spout2 (https://github.com/leadedge/Spout2) input / output
https://knowledge.offworld.live/en/spout-plugin-for-obs-studio
GNU General Public License v2.0
523 stars 49 forks source link

OBS crashes or refuses to open with Spout2 filter #61

Open KitsuiAkira opened 9 months ago

KitsuiAkira commented 9 months ago

Describe the bug

Everything was fine for a long time, until exactly a month ago, where I had to forcibly close OBS in task manager. Ever since then, the GUI refuses to open (shows up in task manager but GUI doesn't load), or crashes when trying to switch to a specific Scene Collection. I found out that it was because of Spout2, and it opens just fine when it is uninstalled.

Yesterday, I further discovered that it was specifically because of a Spout filter I had on one desktop capture source. Regardless if it's active or not, as long as the filter is on the source, OBS will not open. However, if I delete the filter before closing OBS, and it opens just fine on next use, I can readd the filter & use it normally with no problems. But it's quite troublesome & a hassle to have to keep deleting & re-adding it everytime, when it used to work just fine before.

To Reproduce

Steps to reproduce the behavior: (but not sure if it can be reproduced on other machines, or it's just on my system specifically)

  1. Install Spout2
  2. Put a Spout filter on any source
  3. Close OBS and try to reopen

Expected behavior

It should just open normally without crashing, even if I have the filter on a source

(Log attached, this is with the Spout filter on the desktop capture source) 2023-09-08 17-00-45.txt

About the Software:

About Your Machine :

Additional context

Spout capture sources work just fine. It seems to only happen for the filter.