ldtteam / minecolonies

Minecolonies minecraft mod
http://minecolonies.com/
GNU General Public License v3.0
664 stars 341 forks source link

[BUG] Game freezes while selecting a building #10172

Open Cklarkus opened 2 months ago

Cklarkus commented 2 months ago

Is there an existing issue for this?

Are you using the latest MineColonies Version?

Did you check on the Wiki? or ask on Discord?

What were you playing at the time? Were you able to reproduce it in both settings?

Minecraft Version

1.20.1

MineColonies Version

minecolonies-1.20.1-1.1.629-BETA

Structurize Version

structurize-1.20.1-1.0.742-RELEASE

Related Mods and their Versions

  1. Forge 47.3.6
  2. Blockui-1.20.1-1.0.156-RELEASE
  3. domum_ornamentum-1.20.1-1.0.186-RELEASE-universal
  4. multipiston-1.20-1.2.43-RELEASE

Current Behavior

Hello, encountered a problem in SP World, when you select buildings the game freezes for 2-3 minutes, but if after the freeze again to select this building, there is no freeze. As if there is a rendering. Also if you rotate this building (4 sides), each side for the first time will freeze. But when you scroll again, there is no freeze. But if you select another building, it still freezes. This happens only in the SP world, if you run the server, it does not freeze. There are no logs, because the game does not crash

Expected Behavior

Problem Solution :)

Reproduction Steps

I just use build wand to build a building, and when I select a building the game freezes for a few minutes.

Logs

https://mclo.gs/fCE0iCy There's no crash log, because the game doesn't crash.

Anything else?

MotionlessTrain commented 2 months ago

There were two reports from this on Discord as well. One with a 2-3 minute freeze, the other 5-10 seconds (when switching colony packs to compare town hall)

Cklarkus commented 2 months ago

I think I found the cause of the problem, it is related to the setting in the build tool. “Render placeholders as target blocks” if it is enabled, then in the single world freezes, on the server everything is fine.

Daimonfire1 commented 1 month ago

I have been experiencing the same issue, but without even needing to switch packs. As soon as I turn the setting on, my game immediately freezes and refuses to recover.