Reported first around 4/11 PST morning-time, it appears that almost all audio playback in roblox (game and studio) is cutoff near the end.
We’ve uploaded this audio:
A 8.2-second sound, and included it in this bug repro place (attached).
bug_repro.rbxl (40.6 KB)
The bug can be repro-ed as followed…
[1] Press “Play” in the place file attached.
[2] Paste the following script in the command prompt:
local sound = game.Workspace.Sound; while true do print(string.format(“Time(%.2f) Loudness(%.2f)”, sound.TimePosition, sound.PlaybackLoudness)); wait(0.05) end
[3] Enabled “Played” on game.Workspace.Sound
[4] Observe that that the “PlaybackLoudness” printed goes to 0 at around “7.5 seconds” in (as shown below).
To show that this audio does indeed have sound all the way to its end (and show a potential workaround), the repeat the following steps but use this script instead:
local sound = game.Workspace.Sound; while true do sound.Playing=false; sound.Playing=true; print(string.format(“Time(%.2f) Loudness(%.2f)”, sound.TimePosition, sound.PlaybackLoudness)); wait(0.05) end
The entire sound plays, and the PlaybackLoudness is greater than 0 the entire ~8.2 second duration.
Expected behavior
The audio should playback in full, and the output of the first script should match that of the second.