mojira.dev
MC-195337

An unexpected error occurs when a player teleports to the dimension that contains the entity with the same UUID as the player

The bug

When a player teleports to the dimension that contains the entity with the same UUID as the player, repeated fatal errors occur.

How to reproduce

  1. /execute in minecraft:overworld run teleport 0 0 0
  2. /execute in minecraft:the_nether run forceload add 0 0
  3. /execute in minecraft:the_nether run summon minecraft:item_frame 0 0 0 {UUID: α, Fixed: true}

    (Replace α with the player's UUID)

  4. /execute in minecraft:the_nether run teleport 0 0 0

    An unexpected error occurred trying to execute that command(class bed cannot be cast to class aaw (bed and aaw are in unnamed module of loader 'app'))

Linked issues

Comments

SunCat

Can reproduce the freezing, can't reproduce the crash afterwards - using /data can see that the uuid of the player and the item frame match

ampolive

Can confirm in 1.17.1.

ampolive

This also triggers MC-227537, upon inspecting the logs.

ampolive

Can confirm in 21w39a.

ccJerrycc

in 1.21 it's freezing and spamming error logs

intsuc

(Unassigned)

Confirmed

Platform

Low

Entities

1.16.1, 20w29a, 1.16.2 Pre-release 1, 1.16.2, 1.16.3, ..., 21w37a, 21w39a, 1.19.1, 1.20.2, 1.21

Retrieved