Troubleshooting Guide: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 10: Line 10:


===Game doesn't start===
===Game doesn't start===
If double clicking the icon simply does nothing starting from v1.18.8, your .net7 framework install might be broken and needs fixing. Try re-installing the [https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-7.0.2-windows-x64-installer?cid=getdotnetcore .net7 desktop runtime]. Running <code>dotnet Vintagestory.dll</code> from the command prompt might yield additional information then.
If double clicking the icon simply does nothing starting from v1.18.8, your .net7 framework install might be broken and needs fixing. Try re-installing the [https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-7.0.2-windows-x64-installer?cid=getdotnetcore .net7 desktop runtime]. Running <code>dotnet Vintagestory.dll</code> from the command prompt might yield additional information.


===Game is crashing=== <!--T:4-->
===Game is crashing=== <!--T:4-->
'''Did you recently update Vintage Story?'''
'''Did you recently update Vintage Story?'''
Vintage Story releases new updates several times each year.  Normally updates add new features and fix older bugs, but very occasionally something breaks in the process.  You could try asking other players on Discord, or if all else fails, try re-installing a previous version of Vintage Story which was stable. If you are playing with mods and you update Vintage Story without also updating the mods, some of the mods may have issues: see the next question!
Vintage Story releases new updates several times each year.  Normally updates add new features and fix older bugs, but very occasionally something breaks in the process.  You could try asking other players on Discord, or if all else fails, try re-installing a previous version of Vintage Story which was stable. If you are playing with mods and you update Vintage Story without also updating the mods, some of the mods may have issues: see the next question!


<!--T:5-->
<!--T:5-->
'''Do you have mods installed?'''<br>
'''Do you have mods installed?'''<br>
We encourage modding Vintage Story - see the amazing mods on the [https://mods.vintagestory.at/list/mod Mod DB]. But using 3rd-party mods may possibly cause issues with the game, especially if the mod is not updated for the current Vintage Story game version you are playing.  Generally if updating Vintage Story to a new version like 1.16.5, you should also update all of your mods at the same time (though, some mods are fine with game updates). Checking that mods aren't the source of the problem is a good place to start.  See if an update for the mod is available, generally you should use the latest version. Check the Mod DB comments and forum page for the mod, or talk to other players using the mod.  If disabling mods, you should keep the Vintage Story "vanilla" mods enabled, that's Creative, Essentials and Survival!
We encourage modding Vintage Story - see the amazing mods on the [https://mods.vintagestory.at/list/mod Mod DB]. But using 3rd-party mods may possibly cause issues with the game, especially if the mod is not updated for the current Vintage Story game version you are playing.  Generally if updating Vintage Story to a new version like 1.16.5, you should also update all of your mods at the same time (though, some mods are fine with game updates). Checking that mods aren't the source of the problem is a good place to start.  See if an update for the mod is available, generally you should use the latest version. Check the Mod DB comments and forum page for the mod, or talk to other players using the mod.  If disabling mods, you should keep the Vintage Story "vanilla" mods enabled, that's Creative, Essentials and Survival!


<!--T:6-->
<!--T:6-->
Line 37: Line 37:
<!--T:10-->
<!--T:10-->
'''Out of Memory exception'''<br>
'''Out of Memory exception'''<br>
The game needs around 4 GB of free RAM to run smoothly, or more than that if you use integrated graphics (because it uses system memory as GPU memory). 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.
The game needs around 4 GB of free RAM to run smoothly, or more than that if you use integrated graphics (because it uses system memory as GPU memory). 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.


<!--T:27-->
<!--T:27-->
A graphics card can also run out of memory, causing the game to crash. Possible causes include: other active games or processes on your computer which also use graphics card resources (including some webpages or video players); two copies of Vintage Story running at the same time; a previous hard crash of any game or application such that graphics resources were not properly freed (try re-starting your system!); ultra-high view distances; fancy shader mods. If it happens repeatedly without any of these causes and even after re-starting your system, then try reducing graphics settings in Vintage Story: you can access the settings from the Main Menu before starting the game.
A graphics card can also run out of memory, causing the game to crash. Possible causes include: other active games or processes on your computer which also use graphics card resources (including some webpages or video players); two copies of Vintage Story running at the same time; a previous hard crash of any game or application such that graphics resources were not properly freed (try re-starting your system!); ultra-high view distances; fancy shader mods. If it happens repeatedly without any of these causes and even after re-starting your system, then try reducing graphics settings in Vintage Story: you can access the settings from the Main Menu before starting the game.


<!--T:11-->
<!--T:11-->
Line 53: Line 53:


===Screen Freezes=== <!--T:13-->
===Screen Freezes=== <!--T:13-->
If you sometimes experience screen freezes after playing for a few seconds or a few minutes (can be an issue with some Intel Iris or Intel HD integrated graphics, common on modern laptops) try switching off some of the visual effects like God Rays, SSAO, Bloom and Foam & Shiny Effect in the game's graphics settings - or generally just try easier graphics settings like "Low". The graphics settings are accessible through Settings in the main menu, before you start playing a game. There appears to be no specific cause for these screen freezes, just that the laptop's GPU is overwhelmed.  The game is intended to run well and be fully playable on standard laptops, as long as the graphics settings are suitable. There is no shame in using "Low" or "Medium" graphics settings on a laptop, the game still looks great with these settings.<br>
If you sometimes experience screen freezes after playing for a few seconds or a few minutes (can be an issue with some Intel Iris or Intel HD integrated graphics, common on modern laptops) try switching off some of the visual effects like God Rays, SSAO, Bloom and Foam & Shiny Effect in the game's graphics settings - or generally just try easier graphics settings like "Low". The graphics settings are accessible through Settings in the main menu, before you start playing a game. There appears to be no specific cause for these screen freezes, just that the laptop's GPU is overwhelmed.  The game is intended to run well and be fully playable on standard laptops, as long as the graphics settings are suitable. There is no shame in using "Low" or "Medium" graphics settings on a laptop, the game still looks great with these settings.<br>


<!--T:14-->
<!--T:14-->
''If your screen freezes but the mouse still works, you may still be able to exit the game by hitting the Esc key, then moving your mouse pointer to the center of the screen where the 'Save and Exit Game' button would normally be seen - try clicking around that area and listening for a button-click sound. You may then also need to exit the main menu by looking for the Quit button on the left side of the menu screen in the same way.''
''If your screen freezes but the mouse still works, you may still be able to exit the game by hitting the Esc key, then moving your mouse pointer to the center of the screen where the 'Save and Exit Game' button would normally be seen - try clicking around that area and listening for a button-click sound. You may then also need to exit the main menu by looking for the Quit button on the left side of the menu screen in the same way.''


===Game Runs Slow=== <!--T:15-->
===Game Runs Slow=== <!--T:15-->
Line 62: Line 62:
<!--T:16-->
<!--T:16-->
* Lower the quality settings in the Graphics options. Really. Lower them right down, make sure performance is OK at low settings, then increase / re-enable individual settings to see if the performance you want can be maintained.
* Lower the quality settings in the Graphics options. Really. Lower them right down, make sure performance is OK at low settings, then increase / re-enable individual settings to see if the performance you want can be maintained.
* In the Graphics options, the game can run slow if the resolution is higher then 100% (check that first!) High view distances, God Rays, SSAO and high quality shadows all have a big effect on framerate.
* In the Graphics options, the game can run slow if the resolution is higher then 100% (check that first!) High view distances, God Rays, SSAO and high quality shadows all have a big effect on framerate.
* The game might be using the wrong videocard. Make sure your monitor is connected to the dedicated graphics card on the back of your PC.
* The game might be using the wrong videocard. Make sure your monitor is connected to the dedicated graphics card on the back of your PC.
* Modern laptops generally run everything faster if they are plugged in; if unplugged, they slow everything down to conserve the battery.
* Modern laptops generally run everything faster if they are plugged in; if unplugged, they slow everything down to conserve the battery.
* On a laptop with both Integrated and High-performance GPU (e.g. Intel and Nvidia) make sure it is using the High-performance GPU.  There may be Nvidia Control Panel settings for this.  See also [https://nvidia.custhelp.com/app/answers/detail/a_id/2615/~/how-do-i-customize-optimus-profiles-and-settings%3F NVIDIA Optimus Profile].
* On a laptop with both Integrated and High-performance GPU (e.g. Intel and Nvidia) make sure it is using the High-performance GPU.  There may be Nvidia Control Panel settings for this.  See also [https://nvidia.custhelp.com/app/answers/detail/a_id/2615/~/how-do-i-customize-optimus-profiles-and-settings%3F NVIDIA Optimus Profile].
* '''On a Windows 10 laptop, make sure the Windows battery / power mode setting is set to 'Best performance'. Click the battery icon to see this.'''  Especially do not use the 'best battery life' setting, this overrides most other settings on your computer and causes Vintage Story to run very slowly.
* '''On a Windows 10 laptop, make sure the Windows battery / power mode setting is set to 'Best performance'. Click the battery icon to see this.'''  Especially do not use the 'best battery life' setting, this overrides most other settings on your computer and causes Vintage Story to run very slowly.
* Ensure your system meets the minimum requirements
* Ensure your system meets the minimum requirements
* Windows Update or Windows Defender might be active in the background doing updates or scans
* Windows Update or Windows Defender might be active in the background doing updates or scans
Line 87: Line 87:
<!--T:18-->
<!--T:18-->
* Vintage Story currently can have latency issues if players connect from a different continent to where the server is hosted
* Vintage Story currently can have latency issues if players connect from a different continent to where the server is hosted
* In game version 1.16.5, there are reports that a mod (we do not know which one!) can cause multiplayer connection issues or disconnects. If playing with a large mod list and you have connection issues and you have control over the mods on the server as well, try reducing the mod list (for both the server and the players) until the issue is fixed: as a start, test whether you can connect to the server with no mods except Vintage Story's "vanilla" mods Survival, Creative and Essential
* In game version 1.16.5, there are reports that a mod (we do not know which one!) can cause multiplayer connection issues or disconnects. If playing with a large mod list and you have connection issues and you have control over the mods on the server as well, try reducing the mod list (for both the server and the players) until the issue is fixed: as a start, test whether you can connect to the server with no mods except Vintage Story's "vanilla" mods Survival, Creative and Essential
* If you are the server owner:
* If you are the server owner:
** The Server might be struggling. Be sure to meet the server's minimum requirements. Many concurrent players requires extra hardware. You can also try [[Debugging#Improving_Server_Performance|adjusting the Magic Numbers]] on the server.
** The Server might be struggling. Be sure to meet the server's minimum requirements. Many concurrent players requires extra hardware. You can also try [[Debugging#Improving_Server_Performance|adjusting the Magic Numbers]] on the server.
Confirmedusers, Bureaucrats, editor, Administrators
1,779

edits