-
Bug
-
Resolution: Fixed
-
Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32d, Minecraft 14w33a, Minecraft 14w33b, Minecraft 14w34b, Minecraft 14w34c, Minecraft 1.8-pre1, Minecraft 1.8, Minecraft 1.8.3, Minecraft 1.8.6, Minecraft 1.8.7, Minecraft 15w40b, Minecraft 15w46a, Minecraft 1.8.9, Minecraft 1.9 Pre-Release 2, Minecraft 1.9.2, Minecraft 16w32b, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.2, Minecraft 1.12.2, Minecraft 18w07c, Minecraft 1.13-pre5, Minecraft 1.13.1, 1.14.4, 19w46b, 1.15 Pre-release 3, 1.15.2 Pre-release 2, 1.15.2, 1.16.1, 20w30a, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 2, 20w46a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a
-
Confirmed
-
Performance, Textures and models
-
Important
There is a massive lagspike while the game tries to load a player head texture. This can even lead to the game completely freezing if the game is in offline mode or the player the skin is supposed to be loaded from doesn't exist.
To reproduce
Existing player
- Delete the skin cache in .minecraft/assets/skins
- Run
/give @s minecraft:player_head{SkullOwner:jeb_}
→ If you're offline, your game will freeze completely, otherwise it will take a second or two before the skin is loaded and the game continues.
Non-existing player
(from MC-216347)
- Run
/give @s minecraft:player_head{"SkullOwner":{"Name":"Notarealplayersnameplsfixthismojang","Properties":{"textures":[{"Value":"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmQzNGIzZTI3YTNmZTUzODI3YjM3YWQ1OTU2YWNjYTA4ZjI4NjNjNjkyNmNjOTcxMTZkZGEzMzQ4Njk3YTVhOSJ9fX0"}]}}}
- Place the player head down
→ The game freezes
Note
For some more detailed explanation read the content of the duplicate MC-132437.
Code analysis
A code analysis by awr_* with further explanation of this bug can be found in MC-216347.
- is duplicated by
-
MC-68353 /Giving a skull to yourself with a {SkullOwner:NameHere} Will crash your game when in offline mode.
- Resolved
-
MC-72479 Give player skull MHF causes lag
- Resolved
-
MC-79439 Loading player heads in offline mode causes game to freeze
- Resolved
-
MC-82599 Minecraft Freezes for a few seconds while trying to get head
- Resolved
-
MC-97538 Lag Spike With minecraft:skull NBT Tags
- Resolved
-
MC-118343 The problems with the issuance of the head of any player (/give)
- Resolved
-
MC-132437 Player Heads with SkullOwner NBT cause lag spikes
- Resolved
-
MC-153116 Giving you a player head gives you a massive lag spike
- Resolved
-
MC-166872 Using Playerheads decreasing FPS drastically
- Resolved
-
MC-202799 Placement of player heads of non-existing players causes lag
- Resolved
-
MC-216347 Game freezes when placing player heads with custom NBT data
- Resolved
- relates to
-
MC-99601 Commands that fetch game profiles cause lag when fetching a player that wasn't before on the server
- Reopened
-
MC-52653 Player Skull lag(?)
- Resolved