Hi,
a player contacted me telling that the game had no audio. He tried switching all the possibilities in the options but still no luck. Then, after a reboot, it worked without changing anything.
I suppose it was a temporary OS problem, but this is what he wrote:
QuoteWhen I first launched the game two pop-up appeared: one about "MIDI Music" the other about "Digital Sound". I did not took screens, but it roughly said that the chosen option was not working properly and suggest me to shut it off. I pressed "OK" and then the game started neverthless, but with no audio at all.
As I'm not familiar with the engine, I ask the community: what does this behavior mean? If the game starts showing a pop-up, does it mean that the engine noticed something wrong? If so, what should the user do?
Might be an antivirus issue; if the files get locked while they're being scanned then sometimes the audio will not be able to initialize. If your user can whitelist the folder where the game is in their AV, it might be worth giving it a try.
I think audio can fail to work if the user had another program open that uses audio, for instance itunes or Audacity. It's happened to me.
The user told me that at the first launch Avast popped up asking for permission to run the game, so it was probably an antivirus (even if he gave permission, the audio files were probably locked).
I'll keep the other suggestion in mind in case it happens to other players.
Thanks a lot for your help :)
Ah, then yeah most definitely what Laura said in this instance.
Yeah, Avast specifically seems to hate AGS for some reason :-\
Quote from: Laura Hunt on Wed 08/04/2020 10:58:25
Yeah, Avast specifically seems to hate AGS for some reason :-\
AGS hates it too, have to switch it off while testing a game. For the actual distributable it will scan once and mark as safe so not problematic, but running builds from the editor is a nightmare if you leave File Shield on.