Troubleshooting Guide: Difference between revisions

From Vintage Story Wiki
Line 18: Line 18:


'''Do you have mods installed?'''<br>
'''Do you have mods installed?'''<br>
Using 3rd-party mods may possibly cause issues with the game. Checking that mods aren't the source of the problem is a good place to start.
We encourage modding Vintage Story.  But using 3rd-party mods may possibly cause issues with the game, especially if not updated for the current Vintage Story game version you are playing. Checking that mods aren't the source of the problem is a good place to start - check the forum page and Mod DB comments for the mod, or talk to other players using the mod.  If disabling mods, you should keep the "vanilla" mods enabled, that's Creative, Essentials and Survival.


'''Are you on the latest Graphics drivers?'''<br>
'''Are you on the latest Graphics drivers?'''<br>
More often than not, outdated graphics drives can be quite unstable.  
Updating graphics drivers may help if there are visual issues or graphics (OpenGL) related crashes. Vintage Story uses many OpenGL features. Vintage Story also makes heavy use of shaders.


'''Do you have enough hard disk space?'''<br>
'''Do you have enough hard disk space?'''<br>
The game will crash if you run out of it, and likely also corrupt your savegame.
The game will crash if you run out of disk space during a save, and likely also corrupt your savegame. A Vintage Story savegame varies in size depending on how much of the map you have explored, it could be a few GB in size.  ''If you update game versions, and the 'remapping' dialog pops up asking if you want to make a backup (backup enabled by default), make sure you have plenty of disk space for the backup, the backup process will also need plenty of space on the hard drive where your Temp files folder is located.''


'''NullReferenceException in Entity*.FromBytes()'''<br>
'''NullReferenceException in Entity*.FromBytes()'''<br>
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.
'''Out of Memory exception'''<br>
The game ideally needs at least 4GB of free RAM to run properly.  If you have limited RAM on your computer (e.g. 4GB or 8GB), try closing down your browser and other applications while playing the game.  ''Some extreme gameplay actions and settings (e.g. fast travel across the map, with 1024 view distance and other settings maximised) 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 dedicated local server on your own PC, and connect to it (127.0.0.1) as if connected to a multiplayer game: this helps with extreme RAM issues because the server and the game client then each have their own memory space.''


===Game Runs Slow===
===Game Runs Slow===

Revision as of 09:01, 9 March 2021

Having trouble getting the game to run correctly? Here's a list of common problems and fixes.


Game Client

AccessViolation (0xC0000005)

Access Violation error could be triggered for a variety of reasons. A few possible causes:

  • Corrupt files
  • Out-of-date drivers
  • Conflict with anti-virus
  • Overclocking processors

Game is crashing

Do you have mods installed?
We encourage modding Vintage Story. But using 3rd-party mods may possibly cause issues with the game, especially if not updated for the current Vintage Story game version you are playing. Checking that mods aren't the source of the problem is a good place to start - check the forum page and Mod DB comments for the mod, or talk to other players using the mod. If disabling mods, you should keep the "vanilla" mods enabled, that's Creative, Essentials and Survival.

Are you on the latest Graphics drivers?
Updating graphics drivers may help if there are visual issues or graphics (OpenGL) related crashes. Vintage Story uses many OpenGL features. Vintage Story also makes heavy use of shaders.

Do you have enough hard disk space?
The game will crash if you run out of disk space during a save, and likely also corrupt your savegame. A Vintage Story savegame varies in size depending on how much of the map you have explored, it could be a few GB in size. If you update game versions, and the 'remapping' dialog pops up asking if you want to make a backup (backup enabled by default), make sure you have plenty of disk space for the backup, the backup process will also need plenty of space on the hard drive where your Temp files folder is located.

NullReferenceException in Entity*.FromBytes()
Load your savegame in repair mode, fly to the crashing spot, leave the world and run the game normally again.

Out of Memory exception
The game ideally needs at least 4GB of free RAM to run properly. If you have limited RAM on your computer (e.g. 4GB or 8GB), try closing down your browser and other applications while playing the game. Some extreme gameplay actions and settings (e.g. fast travel across the map, with 1024 view distance and other settings maximised) 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 dedicated local server on your own PC, and connect to it (127.0.0.1) as if connected to a multiplayer game: this helps with extreme RAM issues because the server and the game client then each have their own memory space.

Game Runs Slow

  • The game might be using the wrong videocard. Make sure your monitor is plugged into the dedicated graphics card on the back of your PC.
  • If you're playing on a laptop which has both integrated and dedicated video cards, be sure that Vintage Story is set to use the dedicated card in your gpu's driver utility program. See also NVIDIA Optimus Profile.
  • Lower the quality settings in the Graphics options.
  • Ensure your system meets the minimum requirements
  • Windows Update or Windows Defender might be active in the background doing updates or scans
  • Antivirus/anti-malware/firewall programs may be affecting performance
  • Close other programs to free up resources
  • Please ensure the system is sufficiently cooled as some systems slow down if they get too hot. (Make sure air vents are not covered and cooling elements and fans are free from dust for example)
  • Please ensure a sufficiently rated power supply is used, gaming on battery power is not recommended on laptops as they might choose to run slower in a lower power mode.
  • Mods can use significant resources.
  • Check that the system is not overheating or thermal throttling.
  • Please do not run the game from an external drive or network share.


Multiplayer lag / Host not responding messages

  • Vintage Story currently can have latency issue if players connect from a different continent to where the server is hosted
  • If you are the server owner:
    • The Server might be struggling. Be sure to meet the servers minimum requirements. Many concurrent players requires extra hardware.
    • Also check out the Debugging page.

Multiplayer connection issues

  • Make sure your Firewall does not block internet access
  • If you are hosting locally, you either need to set up port forwarding or use a VPN, like hamachi

Game Server

Error: Garbage collector could not allocate 16384u bytes of memory for major heap section.

Run sudo sysctl -w vm.max_map_count=262144


--- Some texts copied from Staxels Troubleshooting guide.