Having Camera enabled freezes the client when opening the settings menu, joining or respawning in games that support Camera

I have camera and voice enabled in my settings and every time I press ESC the entire game freezes for several seconds.

It seems like “GetCameraDevices” is taking a significant amount of time on the micro profiler

This happens in Every game of any size and detail, that has the Camera feature enabled in it. However, it does not happen in studio.

here are some videos to show what I mean:

This is how it looks in a game with no Voice Chat or Camera

This is how it looks in a game with just Voice Chat:

This is how it looks in a game with Camera enabled

But it doesn’t happen only when you press the ESC button, It also significantly affects the join time for games.

Here’s some more videos:

This is how it looks with no Voice Chat or Camera

This is how it looks with Voice Chat enabled

And This is how it looks with Camera enabled

It’s definitely not the place since it’s literally just a baseplate with 3 parts and 2 R15 rigs

It also happens when you respawn.

Without Camera enabled:

With the Camera enabled:

In this case it seems like “CoreScripts/FacialAnimationStreaming” is the culpirt as it can be seen in here:
image

My system information is:

CPU:
12th Gen Intel(R) Core™ i5-12400
RAM:
16 GB 3200 mhz
GPU:
Intel UHD 730
Storage:
128 GB m2 SSD
1 TB GB Hard drive

5 Likes

Hello, thanks for reporting this issue.
Does this happen for you on Windows or another platform?
And which webcam/ webcam driver are you using?
I’m asking because there were some cases before on Windows where either Microsoft Cross Device Service or some unique webcam drivers like Canon EOS Webcam utility were causing such freezes and disabling those got rid of the freezes, so i’d like to narrow down whether it is that or a new bug.

2 Likes

I could reproduce your issue on a windows machine which has a virtual camera installed next to the regular (physical) webcam. Both the freeze on place launch as-well as the freeze on entering pause menu went away when disabling the virtual camera in system settings.
While we will investigate the issue further, could you check if you have any (virtual/ additional) cameras installed which could be causing the issue?
(On Windows 11 press Windows Key + I to open the settings menu, there go to “Bluetooth & devices”, there to “Cameras” and check if you have any (additional / virtual) Cameras installed and disable them to check if that gets rid of the issue.
(or alternatively press Windows Key + X, open device manager and open Cameras there and right click and disable (additional/ virtual) Cameras there))

1 Like

Hello, Sorry for the late response, I’m indeed using windows 11 and, I had no idea I had a virtual camera but disabling it solved the issue. Apparently when you connect your phone to windows using their “Link to windows” app it automatically creates a virtual camera so you can use your phone as a webcam, it also is not removable by the Bluetooth & devices main page neither by the “Manage cameras” settings page, you have to disable it by going into: “Bluetooth & devices” → Mobile devices → Manage devices → (Your phone) → and then you can disable “Use as a connected camera” there, probably gonna have to do it for each phone you have connected.

Everything working perfectly fine now.

Having just the virtual camera enabled by itself causes the bug too, even if you don’t have another camera connected.

Just the virtual camera enabled:

Only other camera enabled:


(Everything working perfectly fine!)

Is there any known reason virtual cameras cause the client to freeze like that?

4 Likes

I wanted to chime in and say I ran into this issue last night. In my case, I do NOT have a virtual camera, but I do have virtual audio inputs/outputs. This makes me wonder if its related to virtual devices as a whole, as when attempting to switch between my microphone input, the client completely locked up and sometimes wouldn’t unfreeze at all.

I will be trialing more of this when I’m back home and provide relevant details.

1 Like

Thanks @DevSersponge and @Reinitialized for your testing, the additional details (very helpful for the further investigation of the issue :+1:) and verifying the workaround of disabling those virtual devices works for you.
The related team will look into why some virtual devices cause this issue, in the meantime the best bet is to disable any such additional (virtual) devices on windows for now when getting such freeze/slow loading.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.