Changes

1,508 bytes added ,  23:44, 27 June 2017
→‎Troubleshooting: restore SEHException (still affects some players)
Line 190: Line 190:  
# If you use SMAPI on Linux/Mac, reinstall SMAPI to fix the launcher.
 
# If you use SMAPI on Linux/Mac, reinstall SMAPI to fix the launcher.
 
# If you use XNB mods, reinstall them one at a time. After each install, test the game to make sure the mod doesn't cause problems.
 
# If you use XNB mods, reinstall them one at a time. After each install, test the game to make sure the mod doesn't cause problems.
 +
 +
===SEHException: External component has thrown an exception===
 +
You may see an error like this with <tt>SEHException</tt> in the text:
 +
 +
<pre>
 +
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
 +
  at new[](UInt32 )
 +
  at Microsoft.Xna.Framework.Audio.UnsafeNativeMethods.AllocateArrayAndReadFile(String filename, Void** ppData, UInt32* pdwBufferSize)
 +
  at Microsoft.Xna.Framework.Audio.UnsafeNativeMethods.WaveBank.CreateHandle(UInt32 hEngine, String string, Int32 length, IntPtr& pCleanup)
 +
  at Microsoft.Xna.Framework.Audio.WaveBank..ctor(AudioEngine audioEngine, String nonStreamingWaveBankFilename)
 +
  at StardewValley.Game1.Initialize()
 +
  at StardewModdingAPI.Inheritance.SGame.Initialize() in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Inheritance\SGame.cs:line 302
 +
  at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
 +
  at Microsoft.Xna.Framework.Game.Run()
 +
  at StardewModdingAPI.Program.StartGame() in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Program.cs:line 274
 +
</pre>
 +
 +
That error happens in the game's audio startup code, which is very sensitive to resources being used before the audio is ready. This isn't caused by SMAPI directly, though SMAPI uses some extra resources during startup.
 +
 +
Common solutions:
 +
* Restart your computer.
 +
* Close your browsers and any open apps before playing. (You can reopen them once the game is started.)
 +
* Remove any mods that change the game's audio (e.g. mods which add more music).
    
===Other problems===
 
===Other problems===
translators
8,404

edits