Troubleshooting Guide: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 49: Line 49:
Load your savegame in repair mode, fly to the crashing spot, leave the world and run the game normally again.
Load your savegame in repair mode, fly to the crashing spot, leave the world and run the game normally again.


<!--T:12-->
'''System.MissingMethodException: Method not found: '!!0[]'''<br>
This is relevant only to older (pre. 1.18.8) versions of Vintage Story.  Please install the [https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net462-web-installer .net Runtime 4.6.2].  On newer versions of Vintage Story you should be using the .Net 7 runtime from Microsoft.
'''System.DllNotFoundException: Unable to load DLL 'glfw''''<br>
Please install the [https://aka.ms/vs/16/release/vc_redist.x64.exe C++ redistributables v16]
====Out of Memory crashes====
<!--T:10-->
<!--T:10-->
'''Out of Memory exception'''<br>
'''Out of Memory exception'''<br>
The game needs at least 4 GB of available (free) RAM to run smoothly, or more than that if you use integrated graphics (because integrated graphics uses system memory as GPU memory), we recommend at least 8-16GB free. You can try to free up memory by closing all other applications, setting the in-game viewing distance lower, setting the music volume to 0 and set RAM optimization to "aggressive" in the game's graphics settings. If your computer does not have 4 GB of free RAM, you can perhaps still play on minimum settings, for example a view distance of 96 or less.
At minimum settings the game needs at least 4 GB of available (free) RAM to run smoothly, or more than that if you use integrated graphics (because integrated graphics uses system memory as GPU memory), we recommend ensuring you have at least 8-12GB free to play on normal settings. You can try to free up memory by closing all other applications, including your browser and Discord if you have those open. If your computer does not have 4 GB of free RAM, you can perhaps still play a Multiplayer game on absolute minimum settings, for example a view distance of 96 or less.
 
=====General tips for resolving memory issues=====
*  Set the in-game viewing distance lower: view distance has the biggest impact on the memory requirements
*  Play Multiplayer not single player games: Multiplayer uses '''much''' less RAM
*  If you finish a game, Quit and re-start VintageStory if you want to play again, don't start a new game from the main menu: starting a second game too quickly from the main menu (before the system had time to clear everything from the first game, it can need a few seconds) can have a high memory impact
*  Disable or uninstall mods, or at least ''test'' things with mods disabled: every mod adds something to the memory requirement, some mods can add massively
*  Check client-main log for reported errors: errors can affect the memory burden in various ways
*  Set the music volume to 0 and restart: this disables the in-game music, can maybe save 50-100MB if the music is not loaded at all
*  Set RAM optimization to "Aggressively optimize" in the game's graphics settings
*  Close down '''all''' other applications
*  In extreme cases try customising the world and disabling Lore - or try the ''Homo Sapiens'' game mode where it is disabled by default
*  In extreme cases you can manually force the game to clear its RAM at times, using the Alt+F8 key in-game
*  Considering installing more RAM in your computer (!) In 2024 it's not expensive and can be a good upgrade
*  If you already tried everything else, ask for help on Discord...


<!--T:27-->
<!--T:27-->
Line 59: Line 81:
Pro tip: ''Some extreme gameplay actions and settings (e.g. fast travel across the map, with 1024 view distance and other settings maximised; huge modlists) could make the game run out of memory even on a powerful PC with plenty of RAM. If this is you, try setting up your game as a multiplayer server on a separate computer system either on your local network, or a hosted multiplayer server.''
Pro tip: ''Some extreme gameplay actions and settings (e.g. fast travel across the map, with 1024 view distance and other settings maximised; huge modlists) could make the game run out of memory even on a powerful PC with plenty of RAM. If this is you, try setting up your game as a multiplayer server on a separate computer system either on your local network, or a hosted multiplayer server.''


<!--T:12-->
'''System.MissingMethodException: Method not found: '!!0[]'''<br>
This is relevant only to older (pre. 1.18.8) versions of Vintage Story.  Please install the [https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net462-web-installer .net Runtime 4.6.2].  On newer versions of Vintage Story you should be using the .Net 7 runtime from Microsoft.


'''System.DllNotFoundException: Unable to load DLL 'glfw''''<br>
Please install the [https://aka.ms/vs/16/release/vc_redist.x64.exe C++ redistributables v16]


===Screen Freezes=== <!--T:13-->
===Screen Freezes=== <!--T:13-->
Confirmedusers, editor
348

edits