Minecraft keeps crashing when the game autosaves.
I am playing on **Java** and have a few mods installed (**Fabric**). My main survival world keeps crashing everytime the game **autosaves** (including when pausing).
This **doesn't** happen when I run the latest **vanilla** version of the game, ***however I do NOT think this is caused by any of the mods I have installed***, at least not directly. This is mainly because **all of my other worlds work normally (with mods)** and most of them use the mods heavily. I have also tried deleting the most recent mod I added to my game (all of the other ones I have had for months and have never caused trouble), **but this didn't resolve the issue**.
The **crash log** makes me think the part of the world's data which is responsible for saving is defective in some way. I am, however, not even remotely an expert in this stuff, so I'll post it here in case it helps in any way:
The game crashed: saving entity nbt
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1937.method_30349()" because the return value of "net.minecraft.class_2586.method_10997()" is nullThe game crashed: saving entity nbt
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1937.method_30349()" because the return value of "net.minecraft.class_2586.method_10997()" is null
Also, while the game does crash when autosaving in this world, **the autosave is still successful in saving anything that I have done in the world**. When I reload, everything I've done in the previous session is saved. And, as far as I'm aware, nothing in the world is corrupted, no chunks generate without the stuff I built on them, all the player and entity data remains intact,... **so nothing seems to be off except the constant crashing**.
***Is there any way to resolve this?***
This **doesn't** happen when I run the latest **vanilla** version of the game, ***however I do NOT think this is caused by any of the mods I have installed***, at least not directly. This is mainly because **all of my other worlds work normally (with mods)** and most of them use the mods heavily. I have also tried deleting the most recent mod I added to my game (all of the other ones I have had for months and have never caused trouble), **but this didn't resolve the issue**.
The **crash log** makes me think the part of the world's data which is responsible for saving is defective in some way. I am, however, not even remotely an expert in this stuff, so I'll post it here in case it helps in any way:
The game crashed: saving entity nbt
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1937.method_30349()" because the return value of "net.minecraft.class_2586.method_10997()" is nullThe game crashed: saving entity nbt
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1937.method_30349()" because the return value of "net.minecraft.class_2586.method_10997()" is null
Also, while the game does crash when autosaving in this world, **the autosave is still successful in saving anything that I have done in the world**. When I reload, everything I've done in the previous session is saved. And, as far as I'm aware, nothing in the world is corrupted, no chunks generate without the stuff I built on them, all the player and entity data remains intact,... **so nothing seems to be off except the constant crashing**.
***Is there any way to resolve this?***
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)