AgriCraft

AgriCraft

30M Downloads

Maybe water tank will cause game crash randomly (Ticking block entity)

catmunyi opened this issue ยท 14 comments

commented

Quick description

Just walk around to some areas or some time will cause crash .

Related issues and searches

Mods and versions used

  • Minecraft: 1.16.5
  • AgriCraft: 3.0.4
  • InfinityLib: 2.0.5
  • AgriCraft OptiFine Compat: 0.0.1
  • OptiFine: 1.16.5_HD_U_G8
  • Pretty large modpack about 220 mods

Steps to replicate the issue

  1. walk around to some areas (cause game crash many times in same area or some time).

Expectations and explanations

My friend is building a water tank at same time.
But won't crash looking water tank direction.
My friend did not crash when building the water tank, but other players nearby cause crash randomly(some player not crash).

Your environment

  • How are you playing?
    • Operating System: Windows 10
    • Launcher: Default
    • Modpack: Private
  • What kind of server:
    • Singleplayer
    • Multiplayer
  • Game Modes:
    • Survival
    • Creative
  • Save File:
    • Brand new save
    • Only an existing save

Links to crash logs, stack traces, etc

commented

I've also encountered this issue, the tank was indeed built across multiple chunks (directly on the corner of four chunks specifically) and would crash anyone near the tank (although not the server itself).

Additionally there was a second tank near the first one (not sharing any chunks in common though) that was also across a chunk border and after doing /fill with air to destroy the first problem tank, once somebody left the area and then came back the second tank immediately started causing the same problem, although I don't know if the second tank being nearby had anything to do with it or if its just that tanks existing across borders reliably triggers this issue.

commented

Yeah looking a little further into it, I'm sure the tanks being close to one another has nothing to do, but also noticed that this is already fixed on a dev branch! ๐Ÿ‘

commented

Is this a single tank or a multiblock setup?

commented

Multiblock setup
image

commented

Across multiple chunks i assume?

commented

Crash some time. Some time won't happen.
I am not sure what will happen.
For now I build And breaking the Water Tank nothing happened to me. But my friend game Crash nearby.

Range like picture.
https://imgur.com/a/2jj94Ts
Maybe depending on client render distance.
Sorry I am not good at English.

commented

I see this issue is closed but I'm still getting crashes with tanks.

agricraft: 3.0.5-hotfix

crashlog: https://pastebin.com/jiDSrTkv

commented

Well shit

commented

need more information about this problem?

commented

so for now, i just use worldedit or something to take out the tanks?

commented

Perhaps, but I am quite sure it's caused by a tank having it's main tile (at min coordinates unloaded).
But then I don't understand why this keeps happening.

I will need to try to force chunk loading very low in dev to try to reproduce it.

commented

Im having an issue where my game crashes from just searching up the water tank with JEI....

commented

Open a new issue for that and include a crash report.

commented

Sure thing