roadrunner icon indicating copy to clipboard operation
roadrunner copied to clipboard

Crash: Duplicate Entity Listener

Open Sunekaer opened this issue 3 years ago • 6 comments

Expected Behavior

To not crash

Actual Behavior

Crashed after player slept

Reproduction Steps

Random happens

Attachments

https://pastebin.com/ZHfdNrb8

Sunekaer avatar Oct 06 '21 14:10 Sunekaer

This is an issue seen in Single Player worlds, making them unload-able until RoadRunner is removed.

AKA: Bump

TheAdamizer avatar Oct 26 '21 16:10 TheAdamizer

Can confirm the issue on Multiplayer. Only way to fix it, is to remove the mod. https://paste.myftb.de/pamadojuze.kotlin

MojangPlsFix avatar Oct 28 '21 08:10 MojangPlsFix

Having this issue as well.

Reshy avatar Oct 29 '21 11:10 Reshy

Ater putting in a bit of thought, I remember Forge pretty much always having duplicate entity issues since all the way back in 1.5.2, and since the thing that seems to be crashing is entities getting added to trackers when they're added into the world, this might be related to that? Unfortunately other than that, I'm as lost on this one as you guys are, but I'll try to find a way to hopefully reproduce this reliably. Until then, feel free to disable the mixin.ai.nearby_entity_tracking rules since they're the ones breaking here

MaxNeedsSnacks avatar Oct 31 '21 22:10 MaxNeedsSnacks

I've mentioned it in #30 already, but if anyone here is willing out to help (and still has the "broken" world): Could you perhaps send me your save file for further debugging? Trying to look for leads but I'm coming up with nothing good at the moment unfortunately :/

MaxNeedsSnacks avatar Nov 04 '21 19:11 MaxNeedsSnacks

I have a save file here but it's on a multiplayer server. my friend's client was disconnected when a wolf's entity tracker was attempted twice after finding a dungeon.

Opening the world requires Kaleidio's Battle Pack 4.3.6 to be installed. Note that if the crash occurs on a multiplayer server, players can rejoin without issue

crash-2022-06-27_14.48.54-client.txt

warning, it is a large world due to lots of chunks having been generated. you may not have the crash again whilst this occurs.

https://drive.google.com/file/d/1pjJbwgp_VfLRQ1ujGLQY6k1_I4GfP9Oz/view?usp=sharing

Kaleidio avatar Jun 27 '22 13:06 Kaleidio

As of RoadRunner 1.5.0, the problematic optimization is disabled by default, as I suspect Forge entity tracking is too broken for it to work well, and it reduces performance in normal worlds anyway.

embeddedt avatar Dec 24 '23 23:12 embeddedt