mojira.dev
MC-95649

[CONSOLE] keeping entity with UUID spam

On the launcher when the game closes it has an tried to keeping entity (Entity Name) with UUID (UUID)

[18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID fde210a8-2454-4a05-acd5-bef84b3ac4ae
[18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
[18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
[18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
[18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
[18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a8dfbae5-44bd-4383-9aaf-b924dc99e685
[18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
[18:03:28] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
[18:03:28] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
[18:03:28] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
[18:03:28] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID d86566d7-c33a-45f3-bd6f-cbb2a2021455
...
[18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID fde210a8-2454-4a05-acd5-bef84b3ac4ae
[18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
[18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
[18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
[18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
[18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a8dfbae5-44bd-4383-9aaf-b924dc99e685
[18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
[18:05:37] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
[18:05:37] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
[18:05:37] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
[18:05:37] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID d86566d7-c33a-45f3-bd6f-cbb2a2021455

MCEdit filter to temporarily fix the problem

Linked issues

MC-98027 Keeping Entity is spammed in the console for all entities and the server becomes extremly laggy, crashing soon after loading into game Resolved MC-99678 keeping entity bug Resolved MC-99840 Server log crowded with spam messages... Resolved MC-101734 Keeping entity that already exists with UUID - Survival Resolved MC-105659 [Server thread/WARN]: Keeping Entity Villager Resolved

Attachments

Comments 120

Does MC-88922 describe this issue ?

Please attach the complete console output to this ticket.

reopening, this issue is actually duplicated by MC-98027

Have been seeing this a lot in my server's console since 1.9 and have realised that two reported missing horses, which I had already worked out were just invisible with non-functioning AI.

I have a pen with 3 horses, 2 of which are invisible and do not seem to have functioning AI. I can /tp to them, however, which is the only way I could confirm they were indeed there, and do not seem to move at all.

[16:04:52] [Server thread/WARN]: Keeping entity EntityHorse that already exists with UUID 8671f013-891f-45c8-af9c-cf8f786035a1
[16:04:52] [Server thread/WARN]: Keeping entity EntityHorse that already exists with UUID 8671f013-891f-45c8-af9c-cf8f786035a1

One of the three horses is visible and moving, the other two are invisible and not moving. I assume the two duplicates are just not being fully loaded because they have duplicate UUIDs.

I have seen the messages a ton since updating to 1.9, and just assumed they were resolving issues and would eventually stop - but if this is happening across the world then it' a pretty serious problem for many players, and indeed the server since many of these duplicate entities will likely just never go away.

Rezzing (Adriana)

Something to tinker with for the devs: A copy of my affected vanilla game files (last time used with server 1.8.9 and not loaded into 1.9 so far) at https://www.dropbox.com/s/y3iqdvoryvi6fak/Cubystar_World_1_8_9_March2016.zip?dl=0

I have the same problem on my server, no crashes, but the map is very laggy.
The error appear after an 1.8 world converted for 1.9: "Keeping entity Entity[...] that already exists with UUID [...]" and affect all mobs.
That problem is not from my host, it's very efficient and work perfectly on 1.8.

I've tried some test:

  • repeat /kill @e[type=!Player]

  • try to load my map in singleplayer

  • try the many 1.9 snapshots, and 1.9.1 pre-release 1,2,3
    No test is really conclusive, the game is very unplayable, particularly the IA of mobs, breaking blocks, eating and redstone systems

Personally, I think it's similar with the invisible skeleton in snapshots.

[I post that I've write on the closed post MC-98027.]

110 more comments

I haven't especially paid attention to this in a while because duplicated entities haven't been a problem for me in quite some time now. The "message spam" wasn't really a problem, it was that entities would get duplicated and only one of them would be "active" during any given game session, which caused a myriad of problems. From my own personal experience, it would seem that this bug is fixed now.

Tomasz Stępień

Still experiencing that on 1.16.4 server (with some datapacks from vanillatweaks, though not even using armor stands one, so I don't think they are the issue). It's not spam per se, but it happens every once in a while if someone places armor stand. Not sure if it's making anything more, as I'm not the one who creates them.

Comfirmed on Paper 1.17.1.

 

[Mon, 20. Sep 2021 17:36:43 CST INFO] x56465163/111.242.180.4:58230 logged in with entity id 210350 at ([world]2193.300000011921, 106.0, -9605.827075037218) [Mon, 20. Sep 2021 17:36:43 CST WARN] UUID of added entity already exists: EntityCat['Cat'/210394, uuid='ff7800a8-3758-43fa-90d0-a824d68103b0', l='ServerLevel[world]', x=2166.00, y=80.00, z=-9627.12, cpos=[135, -602], tl=820336, v=false, rR=null] [Mon, 20. Sep 2021 17:36:43 CST WARN] UUID of added entity already exists: EntityCow['Cow'/210408, uuid='3f37a192-7198-48d5-9696-363b951b94ff', l='ServerLevel[world]', x=2199.98, y=78.00, z=-9651.55, cpos=[137, -604], tl=1705855, v=false, rR=null] [Mon, 20. Sep 2021 17:36:43 CST WARN] UUID of added entity already exists: EntityCow['Cow'/210410, uuid='fe2396a3-baba-4f95-b6ad-5fd915b57f32', l='ServerLevel[world]', x=2203.76, y=78.00, z=-9651.51, cpos=[137, -604], tl=1691902, v=false, rR=null] [Mon, 20. Sep 2021 17:36:43 CST WARN] UUID of added entity already exists: EntityCow['Cow'/210412, uuid='4d754e60-8346-4230-ac7b-ca39039747da', l='ServerLevel[world]', x=2200.81, y=78.00, z=-9650.88, cpos=[137, -604], tl=1692674, v=false, rR=null] [Mon, 20. Sep 2021 17:36:43 CST WARN] UUID of added entity already exists: EntityChicken['Chicken'/210462, uuid='be29e53b-1e52-4467-90f3-6bb76573036a', l='ServerLevel[world]', x=2336.03, y=80.00, z=-9625.47, cpos=[146, -602], tl=250518, v=false, rR=null]

Mojang does not develop Paper. Only comment if you are able to repro with the official server jar.

etanaratsastaja

Does this still occur in the latest version of the game?

Bearon1223

(Unassigned)

Confirmed

Platform

Important

Chunk loading, Entities, Performance

UUID, console, console-spam, entity, spaming

Minecraft 16w02a, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, ..., Minecraft 19w13b, Minecraft 1.14.1, 1.14.4, 1.15.2, 1.16.5

Retrieved