|
|
(6 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | If the 'file or assembly' starts with <samp>Microsoft</samp> or <samp>System</samp> (like "''FileNotFoundException: Could not load file or assembly 'System.[...]' or one of its dependencies''") OR you get something like "The library '[...].dll' required to execute the application is not found in 'C:\Program Files\dotnet`" (often this is <samp>hostpolicy.dll</samp>), something is wrong with the core frameworks used by the game.
| + | "''FileNotFoundException: Could not load file or assembly 'System.[...]' or one of its dependencies''" |
− | Common fixes:
| + | |
− | * [[Modding:Player Guide/Troubleshooting#Reset your content files|Reset the content files]].
| + | ==(Select Mode)== |
− | * If that doesn't work, uninstall Stardew Valley (and fully delete your game folder) and then reinstall it.
| + | <3em; border: 2px |
− | * Check to make sure you don't [[Modding:Player_Guide/Troubleshooting#After_updating_to_the_latest_versions.2C_launching_the_game_still_shows_an_old_SMAPI_or_game_version|accidentally have two copies of the game]].
| |
− | (Stardew now comes packaged with the dependencies needed to run, so you shouldn't need to install them yourself.)
| |
− | You may also see an error like this if you installed SMAPI manually (by renaming the .bat to a .zip and moving files yourself). Try reinstalling SMAPI using the installer if that is the case.
| |
− | ==<samp>OutOfMemoryException</samp> errors (Windows only)==
| |
− | Your log shows <samp>OutOfMemoryException</samp> errors in the console, and the game may severely lag or crash. That means your game ran out of available memory mid-session.
| |
− | Some common fixes:
| |
− | * Make sure you have the latest Stardew Valley {{version|link=0}}, which is 64-bit and doesn't have the 32-bit limitations of older versions.
| |
− | * If you still get the error, you might need to remove content mods you don't need (particularly content packs for Custom Music or TMXL Map Toolkit, which can use a lot of memory).
| |
− | ==SMAPI takes forever to load! (Select Mode)== | |
− | <h1 style="margin-top: 3em; border: 2px solid rgb(0, 116, 72); background: rgba(3, 160, 7, 0.1); padding: 1em;min-width: 100% !important;">Other issues</h1> | |