mojira.dev

Orkun

Assigned

No issues.

Reported

MC-206978 Unlocking any Advancements after launching Minecraft causes lagspike Community Consensus

Comments

This issue seems to be specific to some systems. I updated the environment to Windows 10 Minecraft: Java Edition 1.16.4 AMD Ryzen 7 3700X 8 core 5 out of 16 GB of memory allocated NVIDIA GeForce GTX 1050 Ti Java version 1.8.0_271 (64-bit)

If anyone is affected or isn't affected by this issue, I encourage you to tell your system specs so if there is a pattern we can narrow down the problem much easier.

Allocating 5 GB of memory for Minecraft instead of the default of 2 GB isn't a problem I don't think because I tried it with the default 2 GB of memory allocated on the version 20w49a and the issue continued but I decided to put it into the environment section anyway. Going to attach a video of it soon with the alt + F3 menu open on the latest snapshot.

Found that some simple commands like /setworldpsawn also causes lagspike. The issue seems to be very general and not just about unlocking advancements or crafting recipes.

Testing the /setworldspawn command in 1.16.3 doesn't cause any lagspike assuming the chunk the new world spawn is inside in is loaded. However in 1.16.4, the command causes a lagspike even if the new world spawn is to be set inside loaded chunks. The same goes for giving yourself items that unlock new recipes and/or advancements.

The issue only happens once, even if you re create the world you experienced this specific lagspike, you won't get the same lagspike unless you quit out of the game entirely and launch it again.

So the temporary workaround would be to have a separate world just for triggering this lagspike then you can continue your usual gameplay without encountering this issue. Of course you would do this every time you launch the game.

In 1.16.4 and 20w48a.

In 1.16.3, 1.16.4 and 20w48a. Could reproduce the issue in all three of these versions.

In 1.16.4 and 20w48a. I was able to reproduce the issue and it's skylight variation in both of these versions.

Looked a bit more into this issue and found out that giving yourself an item that doesn't necessarily unlock an Advancement but unlocks more recipes also causes this issue. For example, a rabbit hide, which unlocks the recipe for crafting leather using 4 rabbit hides.

So this is most likely caused by recipes and not Advancements.

In 1.16.4 and 20w48a. I was able to reproduce all 3 issues mentioned using the attached map in both of these versions.

In 1.16.4 and 20w48a. I was able to reproduce all 3 issues mentioned in both of these versions.

Confirmed in 1.8.9 singleplayer and multiplayer.