[BUG] Game freezes while selecting a building
Is there an existing issue for this?
- [X] I have searched the existing issues
Are you using the latest MineColonies Version?
- [X] I am running the latest beta version of MineColonies for my Minecraft version.
Did you check on the Wiki? or ask on Discord?
- [X] I checked the MineColonies Wiki and made sure my issue is not covered there. Or I was sent from discord to open an issue here.
What were you playing at the time? Were you able to reproduce it in both settings?
- [X] Single Player
- [X] Multi Player
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
- Forge 47.3.6
- Blockui-1.20.1-1.0.156-RELEASE
- domum_ornamentum-1.20.1-1.0.186-RELEASE-universal
- 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?
- Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
- Add a comment if you have any insights or background information that isn't already part of the conversation.
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)
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.
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.
I have this on 1.20.1 (Minecolonies 806) but only since recently. Not sure what causes it.
But starting to place a building (so basically right clicking with the build tool) it freezes the game for 10-20 seconds. Then each rotation of that building freezes it again. And again when it goes near other buildings (when it has to render the neighbor buildings).
It used to work fine and I sometimes update the Minecolonies plugin. So maybe it started with a recent update (976 or something near it) Or maybe it's because my Colony surpassed 250 colonists and now spans about 700 blocks across (with chunkloaders from Supermartijn to keep things working).
This is all Singleplayer, but I often play with "open to lan" + Enable cheats, so I can use a few commands. Mostly /mc to reset the request system, and /give to get nether stuff (I'm doing this build without going to other dimensions).