All audio assets suddenly got set to 0 second durations and stopped playing in-game

Hi,

For some reason, all the audio assets made by me that were in my game got their duration set to 0 and began to refuse to play in-game, while it was working perfectly yesterday morning. I’m not sure what caused this problem, nor how to fix it, so any help would be massively appreciated. Thanks!

Example audio shown below

image

1 Like

Does this happen in that specific game only? Try another one and see if they play.

1 Like

Whenever you start to play one, wait until it’s loaded before playing.

1 Like

You can do this using .IsLoaded property.

1 Like

It appears that the same audio works in another game, but I’m not sure what is preventing the audio from playing in the original game.

1 Like

The .IsLoaded property is blacked out. My apologies for not mentioning this in the original post

1 Like

What do you mean by blacked out, you mean just never being set to true?

1 Like

He means the isLoaded property is read-only and can’t be changed.

From what I’ve seen, audio duration is set to 0 seconds when the asset is moderated or the audio is only allowed in specific experiences. Perhaps the owner of the audio set it to be allowed in that specific place where it now works.

Try and check the audio settings - if you can - and see if that’s where your issue lies.

1 Like

He is the owner so it should work in any of his experiences.

1 Like

I mean im your script wait for ot to be set to true.

1 Like

Or are you not using a script?

1 Like

I’m using a script, but the sound is not playing when I try and listen to its preview in the properties window

Oh I’ve had that problem since before the update, why do you need to listen to the preview?

1 Like