Line 246: |
Line 246: |
| * Close your browsers and any open apps before playing. (You can reopen them once the game is started.) | | * 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). | | * Remove any mods that change the game's audio (e.g. mods which add more music). |
− |
| |
− | ===The game failed unexpectedly: System.InvalidOperationException: This resource could not be created.===
| |
− | ====Error Text====
| |
− | <pre>
| |
− | [23:02:06 INFO SMAPI] SMAPI 1.15.1 with Stardew Valley 1.2.33 on Microsoft Windows 10 Pro
| |
− | [23:02:06 DEBUG SMAPI] Mods go here: ...\Steam\steamapps\common\Stardew Valley\Mods
| |
− | [23:02:06 DEBUG SMAPI] Preparing SMAPI...
| |
− | [23:02:06 DEBUG SMAPI] Starting game...
| |
− | [23:02:07 ERROR SMAPI] The game failed unexpectedly: System.InvalidOperationException: This resource could not be created.
| |
− | at Microsoft.Xna.Framework.Audio.AudioEngine..ctor(String settingsFile, TimeSpan lookAheadTime, String rendererId)
| |
− | at StardewValley.Game1.Initialize()
| |
− | at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
| |
− | at Microsoft.Xna.Framework.Game.Run()
| |
− | at StardewModdingAPI.Program.RunInteractively() in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Program.cs:line 224
| |
− | [23:02:07 INFO SMAPI] Game has ended. Press any key to exit.
| |
− | </pre>
| |
− |
| |
− | ====Steps & Info====
| |
− | * SMAPI opens an displays audio related error in a console prompt window (conhost.exe), waiting for user input.
| |
− | * Manually executing Stardew Valley (SV) original starts process for around 10 seconds, then exits.
| |
− | * Launched through Steam with modified Launch parameter: same SMAPI result.
| |
− | * Issued Steam game file integrity check. All files fine. SMAPI still installed. * SMAPI "....config.json", "...,pdb", and 'dll' files are still present.
| |
− | * Mods folder had 'TrainerMod' in it. Tried suffixing with "_disabled". Seems to successfully disable, as a new and empty "Mods" folder was created. Still negative results.
| |
− |
| |
− | ====TODO====
| |
− | * Will try computer restart like similar SEHException audio-related error.
| |
− | * Maybe try SMAPI 2.0 alpha as a last resort.
| |
| | | |
| ===Other problems=== | | ===Other problems=== |