[1.12.2 - 0.2.10.2] Crash <Ticking entity>
LeoBeliik opened this issue ยท 33 comments
Just random crashes, seems some entity spawn and crash the game.
Minecraft: 1.12.2
Forge: 14.23.1.2566
Mod: 0.2.10.2
Crashlog: https://pastebin.com/jnPG414z
A tester in my pack is also having a crash similar to this one:
Minecraft: 1.12.2
Forge: 2565
Mod: 0.2.10.2
Crashlog: https://paste.ee/p/gZ8PC
I'm the tester mentioned above - the crash repeated. I was in the same area, crafting things.
Minecraft: 1.12.2
Forge: 2565
Mod: 0.2.10.2
Log: https://paste.ee/p/k7fRu
specifically it happens with two augments, myomer muscle replacements and the targeted immunosuppressant.
Edit, make that 3 augments. Also can happen with Wired Reflexes
I also just had this crash https://pastebin.com/FyV3W6dd
Sounds good, @mallrat208. Hopefully this fixes it, and then maybe Galacticraft can update, along with ExtraPlanets. Then I can make a 1.12 space station.
Hopefully this can be fixed. No old bugs should be allowed to fester in a mod this amazing.
https://gist.github.com/xenoflot/9c1f0756e9664cacc94d2b22e7bb63f3
Just thought I'd throw this on in case it's useful.
Mod 0.2.10 Forge 14.23.1.2560
Seems mallrat has implemented a potential fix for this crash. I've yet to see a release, but it could come out. Would be happy to try it out.
if by "world restart" you mean log in the world after the crash, I can confirm it does not crash, until the entity spawn again.
Yup, same here. I've had two crashes in the same world, couple days apart. Logging in after the crash was no problem - presumably the mob despawned.
i merged Mallrat's PR and have a few null checks from my local branch to merge and will release for testing after that
The fix seems work, i tried it in my test world spawning lot of cyber zombies and in my survival world with my zombie farm and it does not crash.. I'm 90% sure the fix work pretty well.
Nice work :D
Just ran into that crash again with the latest version unfortunately.
Crash report here: https://pastebin.com/hjkeQtpc
Have the same exact issue. Game unplayable as it is with those random crash. Hope it get fixed soon.
Getting the crash as well. Release version 1.12.2-0.2.10.5, Forge 2590. Pastebin
Well, after five minutes with a command block I found a relatively reliable way to cause this crash. Took a ton of spawns before it actually showed up.
Alright, so this may sound stupid but after the null check you added, there is no way that entity is null.
That makes me think the problem is actually with using a HashMap to keep track of stuff. It can return null if it fails to find a record of the entity. Mind you, it shouldn't because it attempts to add the entity if it doesn't find it but it's possible that the Map contains a reference to the entity but with a null value
Alright, if anyone is feeling adventurous I've got a test build that could use some poking. I've tested it locally and it has not crashed with about 186~ Cyberzombie Entities summoned.
https://github.com/mallrat208/Cyberware/releases/tag/0.2.10.5-alpha.1
Unfortunately, Mallrat, i get a crash with your build :(
https://pastebin.com/tcADLDet
I've got another one if you're feeling adventurous @jhanter
This replaces the Maps for the skin upgrades and muscle upgrades with Sets where applicable.
https://github.com/mallrat208/Cyberware/releases/tag/0.2.10.5-alpha.2
Testing after my last homework assignment. Will report back if a crash occurs.
You probably already know but the Alpha seem to have broken the description and the name of the items/blocks.
@An-Sar Any chance the names and descriptions can be fixed?