When playing in my survival world my game often crashes when trying to sleep or when a bed is touched during the day. There is no specific point of the animation where this happens and I do not think that it is relevant to solve the issue as the same crash occurred when I used a fishing rod for the first time and got the advancement.
I have to note that this world has been modified using amulet editor and I also noticed that when trying to sleep in village beds placed before modifying the world the beds are apparently occupied even if a villager is not sleeping in them.
Furthermore the world is using a few datapacks that are marked for older versions of the game but work fine in practice.
The list is as follows:
Apollo's structures 1.1.3. by Apollo404 (https://www.planetminecraft.com/data-pack/apollo-s-additional-structures/#update_logs)
Waystones by Pausekawa (https://www.planetminecraft.com/data-pack/waystones-a-fast-way-to-travel-in-your-world-with-waypoints/)
A series of packs by Miles Playz:
Better Villages (https://www.milesplayz.com/better-villages/)
New Ruined portals (https://www.milesplayz.com/new-ruined-portals/)
Minecraft fireflies (https://www.milesplayz.com/minecraft-fireflies/)
New Desert Temples (https://www.milesplayz.com/new-desert-temple/)
New pillagers (https://www.milesplayz.com/new-pillagers/)
New Ocean Ruins (https://www.milesplayz.com/new-ocean-ruins/)
New End Cities (https://www.milesplayz.com/new-end-cities/)
These are all packs used.
The world is not modded otherwise.
The JVM parameters have been modified and these are the ones used for the current installation:
-Xms8G -Xmx8G -Xmn128m -XX:+UseG1GC -XX:+AlwaysPreTouch -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=50
One last thing is that the world has been automatically updated from 1.19.1 to 1.19.2 and recently optimized with the deletion of the cache but this did not seem to prevent crashes.
I will attach crash reports and hopefully get this problem solved ASAP, thank you for your patience,
This issue has been published in the mchelp subreddit and got no response at the time of publishing this request.
(https://www.reddit.com/r/MinecraftHelp/comments/x2fd0p/java_1192_world_crashes_when_sleepingfishing/)
Attachments
Comments 9
I've removed the JVM arguments and was able to sleep and fish without crashing, but I have to admit that I have only done that in two separate instances bacause I did not have the time to test more, I will get back to you in due time when I am able to restart the game and not have it crash while performing these activities, I'm gonna try between 3-8 times after this, thank you for your help @apple502j.
The game crashed again but in a completely different setting (the game lagged heavily and crashed after a jump), I've attached the file of this last crash, and this hopefully does not contain sensitive info.
I've restored the JVM files to default and used Xms and Xmx as shown in the issue.
Still a bugs here for me on the latest 1.20.0.23 beta but just sometimes not all of the time for some reasons and only for fishing not sleeping
And it's pretty consistent as well, not random at all
@@unknown, sensitive data has been removed from your attachment(s) and they have been re-uploaded as:
[media]
[media]
[media]
[media]
[media]
[media]
[media]
[media]-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit