SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

Show friendly error when game's audio initialisation fails

Pathoschild opened this issue ยท 1 comments

commented

When the game can't initialise audio, it throws an exception like this:

Detect that error and show a more useful error. For example:

Oops! Looks like the game failed starting audio. Make sure you have speakers or headphones plugged in, or try rebooting. Technical details:
(exception info)

commented

Done in develop for the upcoming SMAPI 2.6.