iPortalTeam / ImmersivePortalsMod

Non-Euclidean in Minecraft. See through portals and teleport seamlessly.
https://qouteall.fun/immptl/
Apache License 2.0
423 stars 100 forks source link

Both client in singleplayer and server hosting game hang when saving world with Immersive Portals installed #1455

Closed awdwyn closed 9 months ago

awdwyn commented 9 months ago

Is it a mod compatibility issue?

No

If it's a mod compatibility issue, please provide the link(s) to the incompatible mod(s)

No response

Minecraft version

1.20.1

Describe the issue

Troubleshooting a hang when shutting down my server after saving chunks / worlds. I narrowed it down to this mod by removing / readding mods in singleplayer as the issue is present on both my server and in a singleplayer client world.

Removed all mods then redownloaded / reinstalled fabric 0.89.3 and immersive portals 3.3.2. The issue persisted. Added in sodium 0.5.3 and indium 1.0.27 with no benefit. Also tried removing the immersive portals config file to no avail.

Process used was to load the game and create a new singleplayer world with default settings, then after it loaded, quick to the main menu. Used task manager to kill the jvm after a few minutes of looking at the Saving World screen and no progress in the latest.log file.

Log attached (via pastebin): https://pastebin.com/K4kW2fcB

qouteall commented 9 months ago

I cannot reproduce this issue on my PC.

MC is probably stuck in chunk generation when saving world (Once chunk generation starts it cannot halt when exiting world). When the free memory amount is low, the chunk generation process may trigger long GC pauses frequently so it hangs. Have you allocated more than 2000 MB of memory to Minecraft

Does it hang when render distance (or server loading distance) is set to 2?

qouteall commented 9 months ago

I can reproduce the issue when setting render distance to 32 and use amplified world

qouteall commented 9 months ago

Should be fixed in 3.3.3