Some connected chunks aren't ticking entities
Closed this issue · 5 comments
DrexHD commented
Describe the bug
Some (seemingly close-by/connected) chunks don't seem to properly tick entities. I was able to reproduce it on a fresh 1.21.2-rc1 server with just c2me after checking a couple chunks.
To Reproduce
Steps to reproduce the behavior:
- Launch a server with latest c2me
- Either Fly around with elytra and rockets (they wont run out in bugged chunks)
- Or check chunks manually by spawning an entity and interacting (eg hitting it) with it.
Expected behavior
Entities tick as they do in vanilla
Runtime info (please complete the following information):
- OS: Ubuntu 22.04.5 LTS
- Minecraft version: 1.21.2-rc1
- Mod version: 0.3.0+alpha.0.325
Checklist
- I am using the official version of the mod.
- I tried the latest development version but the issue persists.
- I searched for similar open issues and could not find an existing bug report on this.
Additional context
I am getting
[12:44:41] [Server thread/INFO]: ServerLevel[world]/minecraft:overworld: waiting for 2121 chunks to unload
[12:44:43] [Server thread/INFO]: ServerLevel[world]/minecraft:overworld: waiting for 1467 chunks to unload
[12:44:45] [Server thread/INFO]: ServerLevel[world]/minecraft:overworld: waiting for 1467 chunks to unload
[12:44:47] [Server thread/INFO]: ServerLevel[world]/minecraft:overworld: waiting for 1467 chunks to unload
[12:44:49] [Server thread/INFO]: ServerLevel[world]/minecraft:overworld: waiting for 1467 chunks to unload
[12:44:51] [Server thread/INFO]: ServerLevel[world]/minecraft:overworld: waiting for 1467 chunks to unload
[12:44:53] [Server thread/INFO]: ServerLevel[world]/minecraft:overworld: waiting for 1467 chunks to unload
[12:44:55] [Server thread/INFO]: ServerLevel[world]/minecraft:overworld: waiting for 1467 chunks to unload
// and so on 1467...
on shutdown
2 pigs are ticking -> swimming, the rest are not ticking
- The issue did not happen in
0.3.0+alpha.0.240 devbuild for 1.21.2-pre3
- The broken / working chunks are different after (kill) reboot
ishland commented
Can you provide full logs and stacktraces of all threads while it is bugged out (with jstack -l pid
)?
DrexHD commented
ishland commented
Try reproduce with gcFreeChunkSerializer
turned on in the config.