Hello!
Since updating, I'm experiencing a weird bug when I try to launch from Steam where the game MIGHT exit/not start unless I have headphones or speakers plugged in. I know "might"s are annoying...
This is the output in SMAPI (with no mods installed) when it did load
[SMAPI] SMAPI 4.0.0 with Stardew Valley 1.6.1 build 24080 on Microsoft Windows 11 Home
[SMAPI] Mods go here: C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods
[SMAPI] Waiting for game to launch...
FAudio: No sound devices.
[game] Game.Initialize() caught exception initializing XACT.
Microsoft.Xna.Framework.Audio.NoAudioHardwareException (0x80004005)
at Microsoft.Xna.Framework.Audio.SoundEffect.Device() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Audio\SoundEffect.FAudio.cs:line 259
at Microsoft.Xna.Framework.Audio.SoundEffect.Initialize() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Audio\SoundEffect.cs:line 191
at Microsoft.Xna.Framework.Audio.SoundEffect..ctor(MiniFormatTag codec, Byte[] buffer, Int32 channels, Int32 sampleRate, Int32 blockAlignment, Int32 loopStart, Int32 loopLength) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Audio\SoundEffect.cs:line 148
at Microsoft.Xna.Framework.Audio.WaveBank..ctor(AudioEngine audioEngine, String waveBankFilename, Boolean streaming, Int32 offset, Int32 packetsize) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Audio\Xact\WaveBank.cs:line 276
at StardewValley.Game1.Initialize() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 2205
[SMAPI] Loading mod metadata...
[SMAPI] Loading mods...
[SMAPI] Loaded 0 mods.
[SMAPI] Launching mods...
[SMAPI] Mods loaded and ready!
Setting breakpad minidump AppID = 413150
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198040772577 [API loaded no]
[SMAPI] You can update SMAPI to 4.0.1:
https://smapi.io
[SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage
---
Unfortunately, the only output I've been able to get to you from a crash IS using a mod (and I did report it to the modder), but it seems like the sound device exception is causing the issue even then, so I thought I'd include it in case it could help:
[SMAPI] Launching mods...
[SMAPI] Mods loaded and ready!
[game] Error loading sound: C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\TractorMod\assets\audio\start.ogg
Microsoft.Xna.Framework.Audio.NoAudioHardwareException (0x80004005): Audio has failed to initialize. Call SoundEffect.Initialize() before sound operation to get more specific errors.
at Microsoft.Xna.Framework.Audio.SoundEffect..ctor() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Audio\SoundEffect.cs:line 85
at Microsoft.Xna.Framework.Audio.OggStreamSoundEffect..ctor(String filename) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Audio\SoundEffect.cs:line 20
at StardewValley.Audio.AudioCueModificationManager.ApplyCueModification(String key) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Audio\AudioCueModificationManager.cs:line 94
[game] The game failed to launch: NullReferenceException: Object reference not set to an instance of an object.
at StardewValley.Audio.AudioCueModificationManager.ApplyCueModification(String key) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Audio\AudioCueModificationManager.cs:line 123
at StardewValley.Audio.AudioCueModificationManager.ApplyAllCueModifications() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Audio\AudioCueModificationManager.cs:line 35
at StardewValley.Game1.LoadContent() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 2468
at StardewModdingAPI.Framework.SGame.LoadContent() in SMAPI\Framework\SGame.cs:line 146
at StardewValley.GameRunner.LoadContent() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 800
at StardewValley.GameRunner.Initialize() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 656
at Microsoft.Xna.Framework.Game.DoInitialize() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 944
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 465
at StardewModdingAPI.Framework.SCore.RunInteractively() in SMAPI\Framework\SCore.cs:line 308
[SMAPI] Game has ended. Press any key to exit.
[SMAPI] You can update 3 mods:
[SMAPI] Automate 2.0.0:
https://www.nexusmods.com/stardewvalley/mods/1063 (you have 2.0.0-alpha.20240220)
[SMAPI] Mail Framework Mod 1.16.0-alpha.20231204:
https://www.nexusmods.com/stardewvalley/mods/1536 (you have 1.15.0)
[SMAPI] Mail Services Mod 1.5.1-alpha20231204:
https://www.nexusmods.com/stardewvalley/mods/7842 (you have 1.5.1-alpha.20231204)
Anyway, it's not a huge annoyance to me personally, since I just have to remember to plug in headphones, but I imagine it's still something you'd want to squash so I thought I'd follow through with reporting it.