mojira.dev
MC-276533

Game crashes when three or more skeletons are about to release their arrows

If three or more entities start drawing their bows, right before they shoot the arrow to the target the game stops responding and just stays like that until you task manager it. This is really really bad because you would most likely encounter three skeletons at night plus anything that is used to bait in skeletons will crash the game.

Attachments

Comments 6

Can confirm. You can leave out the piglin, though (and use the player as a target). Note that a very large amount of skeletons is needed. This also works with normal skeletons, strays, bogged, pillagers, illusioners and piglins, which makes this reproducible in survival. The crash seems to occur when multiple mobs try to shoot one target at the same time (so the arrows seem to be the problem).

Interestingly, this is a client-side infinite loop case. There is currently no easy way to debug them, as watchdogs do not exist in vanilla clients and this does not otherwise produce errors.

I have, however, managed to program a Fabric mod to implement client-side watchdog. I'll attach the report, but solely for the purpose of helping future readers. This report is not official. Given the few modifications made in this setup, I expect this report to reflect the vanilla bug.

Thanks J Z for confirming it because if it was just my pc that would suck

I really hope Mojang finds this and fixes it

The bug appears to be caused by an arrow colliding with something (likely another arrow) on the client-side; the loop in PersistentProjectileEntity#applyCollision never finishes. The arrow goes back and forth between 2 positions on the client.

The simple fix is to not apply projectile collisions on the client.

Can confirm, just spawned like 8 skeletons and an iron golem and my game immediately froze up and died

This bug is really funny

TheRedPanda721

v-aalidoust

Community Consensus

Platform

Very Important

Collision, Crash, Entities

crash

24w36a

24w37a

Retrieved