SceneSwitcher icon indicating copy to clipboard operation
SceneSwitcher copied to clipboard

Neither installer nor tar ball methods for install working. Plugin fails on OBS launch.

Open jtroussard opened this issue 1 year ago • 14 comments

Operating System Info

Sonoma 14.5

OBS Studio Version

31.0.0

Advanced Scene Switcher Version

1.28.1

Plugin settings

No response

OBS Studio Log URL

https://obsproject.com/logs/CMh4BLFF6VCTMmjD

OBS Studio Crash Log URL

No response

Expected Behavior

For OBS to open without error. For OBS to recognize the plugin.

Current Behavior

OBS Crash Log (Abbreviated) Process: OBS Version: 31.0.0 (12207818817) OS: macOS 14.5 (23F79) Code Type: ARM-64 (Native) System Integrity Protection: Enabled Exception Type: EXC_BAD_ACCESS (SIGKILL - Code Signature Invalid) Termination Reason: Namespace CODESIGNING, Code 2 Invalid Page

System Specifications Model: Mac14,3 Uptime Since Boot: 280,000 seconds Time Since Wake: 9,253 seconds Plugin Failure Plugin: advanced-scene-switcher

Path: /Users/USER/Library/Application Support/obs-studio/*/advanced-scene-switcher.plugin/Contents/MacOS/advanced-scene-switcher Library: advanced-scene-switcher-lib.so Error: Invalid Code Signature Error Location (dyld):

dyld3::MachOFile::isMachO Mapped File: Address 0x161054000 Additional Details: The crash appears related to code signing validation of the advanced-scene-switcher plugin, as reported in the dyld mapping process. Removing or updating this plugin may resolve the issue.

Steps to Reproduce

  1. unable to install via mac installer (generic error "Failed to install" no further details)
  2. download and unpacked tar ball
  3. copied contents into the obs plugin directory ~/Library/Application\ Support/obs-studio/plugins/
  4. launch OBS

Anything else we should know?

Mac mini M2 Chip OS Sonoma v14.5

jtroussard avatar Jan 04 '25 23:01 jtroussard

Please try running the following command in the terminal application: codesign --force --deep --sign - ~/Library/Application\ Support/obs-studio/plugins/advanced-scene-switcher.plugin

WarmUpTill avatar Jan 05 '25 12:01 WarmUpTill

I am having the same problem with MacOS Sequoia 15.2, OBS 31.0, plugin version 1.28.1. I tried your solution @WarmUpTill but it does not seem to solve it:

codesign --force --deep --sign - ~/Library/Application\ Support/obs-studio/plugins/advanced-scene-switcher.plugin

But when attempting to open OBS, I still get the notice:

Apple could not verify “advanced-scene-switcher.plugin” is free of malware that may harm your Mac or compromise your privacy.

Note, I'm using the universal tarball. The notice shows twice if I click Done.

heathdutton avatar Jan 13 '25 21:01 heathdutton

@heathdutton I think what you are mentioning here is a different type of problem. Please try holding down Control and click on the OBS.app, then select “Open” from the context menu.

WarmUpTill avatar Jan 14 '25 17:01 WarmUpTill

@WarmUpTill I should have some time this evening to give this solution a try. Thanks for the feedback.

jtroussard avatar Jan 14 '25 17:01 jtroussard

@jtroussard sorry the previous comment was only referring to the other type of issue reported by heathdutton. For your problem I am unfortunately at a bit of a loss. The only idea I would have is to completely remove the ~/Library/Application\ Support/obs-studio/plugins/advanced-scene-switcher.plugin directory and then try to reinstall it again.

WarmUpTill avatar Jan 15 '25 12:01 WarmUpTill

Perhaps you are right and this is a different issue?

One solution was to find it in Privacy & Security, click "Allow Anyway" and one last time use admin credentials. I didn't have to do this till after the Sequoia update.

Image

heathdutton avatar Jan 21 '25 04:01 heathdutton

Perhaps you are right and this is a different issue?

One solution was to find it in Privacy & Security, click "Allow Anyway" and one last time use admin credentials. I didn't have to do this till after the Sequoia update.

Image

This was the fix for me after hours of frustration. Simply "Allow" then run the installer, then use it.

dmattox10 avatar Feb 07 '25 01:02 dmattox10

The plugin still causes OBS to crash on launch for me on macOS 15.3.1, using either the installer or the tarball and the codesign command. I tried a few major versions back and the same behavior is present as well. OBS version 31.0.3.

I was trying to upgrade the version of advanced scene switcher so the UI bugs would be fixed, but I tried every major release back to 1.23 (which is what I was previously running) and had no luck. All versions 1.24 and on either install but then do not appear within OBS, or crash immediately upon startup as previously described. So for now, I am stuck on version 1.23 for advanced scene switcher.

MrDogeBro avatar Mar 30 '25 21:03 MrDogeBro

The plugin still causes OBS to crash on launch for me on macOS 15.3.1, using either the installer or the tarball and the codesign command. I tried a few major versions back and the same behavior is present as well. OBS version 31.0.3.

I was trying to upgrade the version of advanced scene switcher so the UI bugs would be fixed, but I tried every major release back to 1.23 (which is what I was previously running) and had no luck. All versions 1.24 and on either install but then do not appear within OBS, or crash immediately upon startup as previously described. So for now, I am stuck on version 1.23 for advanced scene switcher.

Unfortunately I don't own a Mac myself so replicating the issue won't be an option for me.

Thus, can you please share a crash log using the most recent release, so I can compare it to the previously shared ones?

Also does installing at least OBS 30.1.2 help in any way?

Thank you!

WarmUpTill avatar Mar 31 '25 19:03 WarmUpTill

I'm having the same issue on an M4 Macbook Pro. Mac OS 15.3.1, OBS Studio v 31.0.2

Here's my log file

2025-04-04 16-08-30.txt

JakubKwak avatar Apr 04 '25 15:04 JakubKwak

I'm having the same issue on an M4 Macbook Pro. Mac OS 15.3.1, OBS Studio v 31.0.2

Here's my log file

2025-04-04 16-08-30.txt

Thank you for sharing the log file! It seems to end rather abruptly. Does OBS crash / do you get a crash report? If so, can you please share it?

WarmUpTill avatar Apr 04 '25 16:04 WarmUpTill

I'm having the same issue on an M4 Macbook Pro. Mac OS 15.3.1, OBS Studio v 31.0.2 Here's my log file 2025-04-04 16-08-30.txt

Thank you for sharing the log file! It seems to end rather abruptly. Does OBS crash / do you get a crash report? If so, can you please share it?

OBS crashes immediately with a generic MacOS error:

Image

I did not find any specific crash reports in OBS logs, here is the full MacOS crash report:

crashreport.txt

JakubKwak avatar Apr 04 '25 21:04 JakubKwak

I'm having the same issue on an M4 Macbook Pro. Mac OS 15.3.1, OBS Studio v 31.0.2 Here's my log file 2025-04-04 16-08-30.txt

Thank you for sharing the log file! It seems to end rather abruptly. Does OBS crash / do you get a crash report? If so, can you please share it?

OBS crashes immediately with a generic MacOS error: Image

I did not find any specific crash reports in OBS logs, here is the full MacOS crash report:

crashreport.txt

Thanks for sharing the crash report! I had a look at it and found the following:

Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))

This looks like the same issue from above. Can you please try if performing this step resolves the issue?

Please try running the following command in the terminal application: codesign --force --deep --sign - ~/Library/Application\ Support/obs-studio/plugins/advanced-scene-switcher.plugin

WarmUpTill avatar Apr 05 '25 09:04 WarmUpTill

This looks like the same issue from above.

Apologies, it was the same issue. When I originally tried this fix I didn't do it on a fresh install of the plugin and was getting an error saying the file was damaged. But I deleted and reinstalled it, ran the above command and then clicked Allow Anyway in the Privacy & Security settings and it no longer crashes.

JakubKwak avatar Apr 05 '25 11:04 JakubKwak