AudioTextToSpeech LoadAsync() never returns in live servers

What do you want to achieve?
I want to use AudioTextToSpeech on the server to play quiz questions as text-to-speech without freezing gameplay.

What is the issue?
Calling AudioTextToSpeech:LoadAsync() on the server never returns in live servers.
Because the call yields, the script thread stalls indefinitely and freezes gameplay logic (for example, intermission timers or round progression).

What solutions have you tried so far?

  • Checked the Creator Hub documentation for AudioTextToSpeech
  • Confirmed I am within documented TTS rate limits
  • Reused a single AudioTextToSpeech instance
  • Wrapped the call in pcall (does not help since it yields)
  • Moved LoadAsync() into a separate task with a manual timeout as a workaround

local tts = Instance.new("AudioTextToSpeech")
tts.Parent = workspace
tts.Text = "This is a test sentence."
tts.VoiceId = "1"

local output = Instance.new("AudioDeviceOutput")
output.Parent = workspace

local wire = Instance.new("Wire")
wire.Parent = workspace
wire.SourceInstance = tts
wire.TargetInstance = output

print("Before LoadAsync")

-- Never returns in live servers
local status = tts:LoadAsync()

print("After LoadAsync", status)

Hi @Furaawa thanks for the report. LoadAsync() is currently a client-only API. We do agree that having the call hang is confusing, we are investigating better error messaging and other improvements to this API in the future.

If you have specific server-side use cases please let us know here. (Or if you are able, please file a Dev Forum Feature Request.)