obs-zoom-and-follow
obs-zoom-and-follow copied to clipboard
After I use the script, OBS crashes when I want to change to another collection of scenes
I installed the script and it works correctly. However, when I try to change to another collection I get the following error.
I only get that error after using the zoom script. Any possible solution to this?
This should be resolved as of the most recent version, can you try to reproduce the issue?
@Manrochri other than this script what other plugins do you have installed in OBS?
I can confirm I run into this as well. If I remove the script I'm able to change scene collections just fine. If I have it added, I get the source cleanup error.
Here you can see me loading the script, and then I try to change scene collections.
02:41:49.117: [obs-scripting]: Loaded python script: zoom_and_follow_mouse.py
02:41:49.123: [Python: zoom_and_follow_mouse.py] Updating Source List
02:41:49.126: [Python: zoom_and_follow_mouse.py] New source: True
02:41:49.126: [Python: zoom_and_follow_mouse.py] Triggered callback: Manual Monitor Override
02:41:49.126: [Python: zoom_and_follow_mouse.py] Triggered callback: Manual Monitor Dim
02:41:49.126: [Python: zoom_and_follow_mouse.py] Triggered callback: Manual Offset
02:41:49.126: [Python: zoom_and_follow_mouse.py] Triggered callback: debug
02:41:49.134: [Python: zoom_and_follow_mouse.py] Run script_properties
02:41:49.134: [Python: zoom_and_follow_mouse.py] Updating Source List
02:41:49.137: [Python: zoom_and_follow_mouse.py] New source: True
02:41:49.137: [Python: zoom_and_follow_mouse.py] Updating Monitor List
02:41:49.138: [Python: zoom_and_follow_mouse.py] Monitor override list updated
02:41:49.159: QWindowsWindow::setGeometry: Unable to set geometry 1281x1242+5165+660 (frame: 1303x1298+5154+615) on QWidgetWindow/"ScriptsToolWindow" on "ASUS VG289Q1A (2)". Resulting geometry: 1281x1485+5165+660 (frame: 1303x1541+5154+615) margins: 11, 45, 11, 11 minimum size: 854x828 MINMAXINFO(maxSize=POINT(x=0, y=0), maxpos=POINT(x=0, y=0), maxtrack=POINT(x=0, y=0), mintrack=POINT(x=1303, y=1298)))
02:41:53.591: [Python: zoom_and_follow_mouse.py] Run script_update
02:41:53.592: [Python: zoom_and_follow_mouse.py] Source update
02:41:53.595: [Python: zoom_and_follow_mouse.py] Updating Source List
02:41:53.598: [Python: zoom_and_follow_mouse.py] New source: True
02:41:53.598: [Python: zoom_and_follow_mouse.py] Update source size
02:41:53.598: [Python: zoom_and_follow_mouse.py] self.source_name: [DC] Primary Monitor
02:41:53.598: [Python: zoom_and_follow_mouse.py] Source loaded successfully: monitor_capture
02:41:53.598: [Python: zoom_and_follow_mouse.py] Source Type: monitor_capture
02:41:53.598: [Python: zoom_and_follow_mouse.py] Searching for monitor 1
02:42:03.095: [Python: zoom_and_follow_mouse.py] Run script_save
02:42:03.122: [obs-scripting]: Unloaded lua script: source-toggler.lua
02:42:03.122: [obs-scripting]: Unloaded lua script: media-hide.lua
02:42:03.123: [Python: zoom_and_follow_mouse.py] Run script_unload
02:42:03.123: [Python] source_list_release:1140: SWIG failed to convert python object to obs object: obs_source_t *
02:42:03.123: [obs-scripting]: Unloaded python script: zoom_and_follow_mouse.py
02:42:03.159: Not all sources were cleared when clearing scene data:
@thelegendtubaguy can you confirm you only see the issue with scene switching if you actually trigger the zoom/follow? i.e. if you open OBS and don't use the feature, you can still switch scenes okay?
This was my experience and also seemed to be the difference between OBS crashing after closing, as you reported in #119. Closing without using the feature would close without crashing, but using the feature and then closing OBS would crash it.
Scripts: datetime.lua projecto-hotkeys.lua source-toggler.lua zoom-and-follow-mouse.py
Plugins: move transitiion audio monitor
De: ADJStreams @.> Enviado: lunes, 6 de noviembre de 2023 4:43 Para: tryptech/obs-zoom-and-follow @.> Cc: CHRISTIAN MANUEL RODRIGUEZ CHILET @.>; Mention @.> Asunto: Re: [tryptech/obs-zoom-and-follow] After I use the script, OBS crashes when I want to change to another collection of scenes (Issue #124)
@Manrochrihttps://github.com/Manrochri other than this script what other plugins do you have installed in OBS?
— Reply to this email directly, view it on GitHubhttps://github.com/tryptech/obs-zoom-and-follow/issues/124#issuecomment-1794430947, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4M735PZDHMGN6N63J4BAKDYDCWL3AVCNFSM6AAAAAA3XRW3BCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJUGQZTAOJUG4. You are receiving this because you were mentioned.Message ID: @.***>
@thelegendtubaguy can you confirm you only see the issue with scene switching if you actually trigger the zoom/follow? i.e. if you open OBS and don't use the feature, you can still switch scenes okay?
This was my experience and also seemed to be the difference between OBS crashing after closing, as you reported in #119. Closing without using the feature would close without crashing, but using the feature and then closing OBS would crash it.
No, that is not what is happening to me. I don't even have to trigger zoom/follow. Now you said "switch scenes", that's not what I'm talking about. I'm saying this happens when I change scene collections. Big difference, just want to make sure we're on the same page.
This is also why I closed that other issue and jumped onto this one. I was no longer experiencing what I reported in the other issue.