Duration starting today as of January 29th, it is printing Nil, I ran several tests to check it 4 times with no mistake. It keeps printing nil and causing every Roblox game that uses a music system to search for the duration number value and may break it since this API is currently down or partially not working as of 6 hours ago.
Now the the entire value of “Duration” is not responding at all as of 6 hours ago, and still persisting to not function at all and prints “Nil”. This damaged several systems that check for duration. This appears to be a Roblox issue, no matter how many times as a developer I try to call the “Duration” value, it never appears, and the game defaults to it being “nil”
I am referring to GetAudioMetadataAsync() btw, idk if I need to open another thread for this, but this bug is really bad right now, and it’s impacting every Roblox game that uses this function.
I’ll look into the duration issue, thanks for bringing it to my attention
I don’t know if you’ve already found a workaround or not, but you can create a new sound instance and give it the sound ID you need the duration of (parent it to workspace). Should be able to get the duration from there.
A fix has been found and will go out next week with version 659. Unfortunately due to the nature of this bug it cannot be reverted in this week’s version 658. In the mean time please use @BurningEuphoria’s workaround or the Duration value from AssetService:SearchAudio.
Sorry for any inconvenience this has caused. I identified a couple of issues in the process of releasing this change that I will work to correct for future changes to prevent these issues in the future.