Mister_Joe Posted March 7, 2025 Report Posted March 7, 2025 (edited) So, I'm trying to troubleshoot a crash issue. Whenever I approach a specific area of the game, it crashes. Then I usually have to load up another save to decrease the draw distance, which allows me to load the crashed game. Then I can slowly increase the draw distance back as I move away from the location the game crashed at. So now I have to completely avoid this area until an update somehow fixes it. Unless, a kind person could figure out how to fix this... I would really appreciate it. client-crash.zip client-main.zip server-main.zip Edited March 7, 2025 by Mister_Joe
Brady_The Posted March 7, 2025 Report Posted March 7, 2025 (edited) 44 minutes ago, Mister_Joe said: So, I'm trying to troubleshoot a crash issue. Whenever I approach a specific area of the game, it crashes. Then I usually have to load up another save to decrease the draw distance, which allows me to load the crashed game. Then I can slowly increase the draw distance back as I move away from the location the game crashed at. So now I have to completely avoid this area until an update somehow fixes it. Unless, a kind person could figure out how to fix this... I would really appreciate it. Head over to "%AppData%\VintagestoryData\Logs", zip client-crash, client-main and server-main, and attach the zip to your comment. Without any further information contained in those logs, we can only guess. Edited March 7, 2025 by Brady_The
Mister_Joe Posted March 7, 2025 Author Report Posted March 7, 2025 6 hours ago, Brady_The said: Head over to "%AppData%\VintagestoryData\Logs", zip client-crash, client-main and server-main, and attach the zip to your comment. Without any further information contained in those logs, we can only guess. Alright. I uploaded the files.
Brady_The Posted March 7, 2025 Report Posted March 7, 2025 (edited) 1 hour ago, Mister_Joe said: Alright. I uploaded the files. Do you have the same issue on any world, newly created or older, or does it only happen for one specific save? According to server-main.log the world you tried to load is corrupted: 7.3.2025 22:40:06 [Fatal] Unable to open or create savegame. 7.3.2025 22:40:06 [Error] Exception: Cannot open savegame database file C:\Users\ADMIN12\AppData\Roaming\VintagestoryData\Saves\vintage adventure valley.vcdbs, it seems to be not writable! Try if repairing the world does fix the problem. To do that, go to Singleplayer -> click on the button all the way to the right on the save file that doesn't work, and hit the button titled "Run in Repair mode" all the way in the bottom right, then hit "Confirm". If that doesn't work and you answered my first question with "Don't know", test if you experience the same problem on a new world. Spoiler Try this only if above doesn't work and you get another System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at Vintagestory.Client.NoObf.TextureAtlasManager.RegenMipMaps(Int32 atlasNumber) crash. Weirdly enough you also apparently have a "texture atlas" problem, according to your client-main.log. This really shouldn't happen, considering you don't seem to be using any mods. You could try and see if the typical workaround for this crash works for you, too. To apply it, navigate to "%AppData%/Roaming/VintagestoryData/" and open "clientsettings.json". In that file you look for "maxTextureAtlasWidth" and "maxTextureAtlasHeight", and set both to 8192. Edited March 7, 2025 by Brady_The
Thorfinn Posted March 7, 2025 Report Posted March 7, 2025 How much free space do you have? The game itself defaults to closing if you have under 400m free. The message that @Brady_The pointed to is typical for the database having to shut down from write errors, by whatever means. Repair mode is the right answer; just make sure your machine is capable of repairing the error, I have encountered weirdnesses where I had to reboot my server, and by reboot, I mean cold-boot. I don't know how they happened, as it's pretty rare, and, frankly, I'm a little lazy about tracking down things like that.
Mister_Joe Posted March 8, 2025 Author Report Posted March 8, 2025 8 hours ago, Brady_The said: Do you have the same issue on any world, newly created or older, or does it only happen for one specific save? According to server-main.log the world you tried to load is corrupted: 7.3.2025 22:40:06 [Fatal] Unable to open or create savegame. 7.3.2025 22:40:06 [Error] Exception: Cannot open savegame database file C:\Users\ADMIN12\AppData\Roaming\VintagestoryData\Saves\vintage adventure valley.vcdbs, it seems to be not writable! Try if repairing the world does fix the problem. To do that, go to Singleplayer -> click on the button all the way to the right on the save file that doesn't work, and hit the button titled "Run in Repair mode" all the way in the bottom right, then hit "Confirm". If that doesn't work and you answered my first question with "Don't know", test if you experience the same problem on a new world. Reveal hidden contents Try this only if above doesn't work and you get another System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at Vintagestory.Client.NoObf.TextureAtlasManager.RegenMipMaps(Int32 atlasNumber) crash. Weirdly enough you also apparently have a "texture atlas" problem, according to your client-main.log. This really shouldn't happen, considering you don't seem to be using any mods. You could try and see if the typical workaround for this crash works for you, too. To apply it, navigate to "%AppData%/Roaming/VintagestoryData/" and open "clientsettings.json". In that file you look for "maxTextureAtlasWidth" and "maxTextureAtlasHeight", and set both to 8192. I ran it in repair mode and let the chunks load. This seems to have solved the issue. Thank you! 1
Recommended Posts