obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
58.81k stars 7.83k forks source link

Error when starting the virtual camera #11026

Open ringods opened 1 month ago

ringods commented 1 month ago

Operating System Info

macOS 14

Other OS

No response

OBS Studio Version

30.2.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/YbHJAwvX3hRB66IK

OBS Studio Crash Log URL

No response

Expected Behavior

Pressing the Start Virtual Camera button should enable this function

Current Behavior

When I press the Start Virtual Camera button, I get a dialog that there was an error installing the virtual camera.

Screenshot 2024-07-24 at 16 04 19

Steps to Reproduce

  1. Launch OBS Studio v30.2.2
  2. Press Start Virtual Camera
  3. error dialog appears

Anything else we should know?

OBS Studio is installed via the Homebrew Cask:

https://github.com/Homebrew/homebrew-cask/blob/master/Casks/o/obs.rb

infinitewarp commented 1 month ago

I encountered a similar error trying to enable the virtual cam on macOS 14 (Sonoma) after updating to 30.2.2 today using OBS's built-in updater.

Screenshot 2024-07-24 at 11 24 15 AM

I tried flipping permissions off and on in System Settings, restarting OBS multiple times, and reviewing OBS's permissions, but none of that helped. The only thing that did resolve the issue for me was manually dragging OBS to the trash, confirming the dialog that warned it would remove a system extension, downloading and installing a fresh copy of OBS from obsproject.com, starting it up, and approving the system extension permissions again.

TLDR: Delete and reinstall OBS.

I guess something didn't actually update correctly from the auto-updater, but it's not clear to me. 🤷

RytoEX commented 1 month ago

@infinitewarp Your issue (no virtual camera after updating) is almost certainly the same as #10381. As far as I know, it has nothing to do with the updater.

@ringods If this happened after an OBS Studio update, then this is a duplicate of #10381. If this happened on a fresh install of OBS Studio, then that may be #9912 or something different. Please let us know specifically how you installed OBS Studio 30.2.2.

ringods commented 1 month ago

@RytoEX this indeed happened after an OBS Studio update. However, when I updated (via Homebrew) to v30.2.0, I got the error from #10381. Reinstalling from a download from the main website solved this for me.

Today, I had another update to v30.2.2 and got the error I reported. Given the other dialog, I have the impression it is something different. I leave that up to you as authors/developers of the product though.

jcm93 commented 1 month ago

@ringods for clarity, is the issue you currently have after updating to 30.2.2 the error code 8 error, or the "not found" error? And exactly what method did you use to update (manual check for updates in-app, automatic in-app, homebrew, etc.)

If it is an error code 8, could you also please run the command systemextensionsctl list in the Terminal and reproduce the output here?

A system extension error code 8 indicates an invalid code signature or missing entitlements, so this is definitely distinct from the "not found" issue. I suspect installing from Homebrew has something to do with this but not able to say for sure until I have a chance to try to reproduce.

ringods commented 1 month ago

I updated via Homebrew on macOS and got the error code 8 message.

systemextensionsctl list
6 extension(s)
--- com.apple.system_extension.cmio
enabled active  teamID  bundleID (version)  name    [state]
*   *   2MMRE5MTB8  com.obsproject.obs-studio.mac-camera-extension (30.2.1/10049553606) com.obsproject.obs-studio.mac-camera-extension    [activated enabled]
        2MMRE5MTB8  com.obsproject.obs-studio.mac-camera-extension (30.1.2/8576208847)  com.obsproject.obs-studio.mac-camera-extension    [terminated waiting to uninstall on reboot]
        2MMRE5MTB8  com.obsproject.obs-studio.mac-camera-extension (30.2.0/9914953239)  com.obsproject.obs-studio.mac-camera-extension    [terminated waiting to uninstall on reboot]
jcm93 commented 1 month ago

Hmm. Can you check if this issue persists after restarting your machine?

ringods commented 1 month ago

@jcm93 That would be the same/similar as the log link posted in my initial message. I have this problem on both my M1 and Intel Mac.

I just rebooted my Intel Mac but the problem persists.

jcm93 commented 1 month ago

@jcm93 That would be the same/similar as the log link posted in my initial message. I have this problem on both my M1 and Intel Mac.

Yes, apologies, I realized that and deleted my question before you replied.

I just rebooted my Intel Mac but the problem persists.

Now that you've rebooted, can you post the output of systemextensionsctl list one more time as well as a new log from OBS? If the error appears identical, please do post the log anyway just so that we can have complete information.

ringods commented 1 month ago

@jcm93 since the extensions list in my previous comment came from my M1 Mac, I also rebooted that machine. Here is the refreshed output:

--- com.apple.system_extension.cmio
enabled active  teamID  bundleID (version)  name    [state]
*   *   2MMRE5MTB8  com.obsproject.obs-studio.mac-camera-extension (30.2.1/10049553606) com.obsproject.obs-studio.mac-camera-extension  [activated enabled]

For completeness: also on my M1 Mac the problem persists after rebooting.

Log: https://obsproject.com/logs/uTyxmMk5jv1Fhm9v

MrNobodyX3 commented 1 month ago

I get this issue where it wants me to accept a privacy issue but it doesn't exist in settings.

image
HellShuro commented 2 weeks ago

I encountered the same problem, which makes it impossible for us to use. When can this problem be fixed?

zzzzz167 commented 2 weeks ago

我遇到这个问题,它希望我接受隐私问题,但它在设置中不存在。

图像

I have the same problem so what should i do to us virtual camera again?

zzzzz167 commented 2 weeks ago

I get this issue where it wants me to accept a privacy issue but it doesn't exist in settings.

image

@MrNobodyX3 I have the same problem as you When I use the systemextensionsctl list. It outputs the following information: image So it seems that this extension option has moved in some newer versions of the system and then I found the right spot and turned on the virtual camera at the System Settings > General > Login Items & Extensions > Camera Extensions. I'm not sure if this will work for the problems you're describing, but it's worth a try.

MrNobodyX3 commented 2 weeks ago

So it seems that this extension option has moved in some newer versions of the system and then I found the right spot and turned on the virtual camera at the System Settings > General > Login Items & Extensions > Camera Extensions. I'm not sure if this will work for the problems you're describing, but it's worth a try.

This did resolve my issue. Thank you so much.