Impossible to develop against voice chat in Studio with new audio APIs

I can’t get voice chat to work in Studio, while voice chat does work when publishing the exact same experience and playing it live.

Experience: Audio experiments - Roblox

My account has the right account settings enabled and the experience has the right settings/permissions set in game settings, as evident from the fact I can use voice chat fine in-game:

But inside Studio, no microphone controls show and the new audio APIs are not picking up anything from the audio device in my Player object:

There’s an error in the console there, maybe that’s the root cause?

  17:31:51.963  The current thread cannot access 'StreamingService' (lacking capability Assistant)  -  Server
  17:31:51.963  Stack Begin  -  Studio
  17:31:51.964  Script 'Script Context.ServerCoreScripts/VoiceDefault', Line 203  -  Studio
  17:31:51.964  Stack End  -  Studio

Expected behavior

It should be trivial to test against voice chat with the new audio APIs in Studio.

1 Like

Hey @buildthomas, it used to be possible to at least use your own microphone input in studio. I just tried publishing a new place with Microphone enabled under Game Settings

and VoiceChatService.UseAudioApi set to Enabled

The error you’re seeing looks like it might be related to Capabilities – if you try disabling sandboxing do you get any further?

Ah; doing a bit more digging, this error seems to be the same issue as this, which will be addressed in v650

1 Like