mojira.dev
MC-47508

Ridden entities disappear on relogin

Horses, Minecarts, Boats disappear after relogging.


Steps to reproduce:

  1. Play a single player world

  2. Ride a horse (with a saddle?)

  3. Click ESC then open to LAN

  4. Save and quit to title screen

  5. Reload the world,

And the horse will disappear, happens every time I do it.


Code analysis by @unknown in this comment

Related issues

MC-3918 Specifically spawned blocks cause entities to lag through them MC-47651 Horse disappeared when logged out mounted and logged in again. MC-48820 Boats Dissapear When You Get Out Of Them MC-48900 Saving a game while in a boat causes boat to disappear when game is reloaded. MC-48987 If I log off while on a horse it is completely gone next time I log on. MC-49006 Funny horses MC-49524 When i load a savegame my horse dissapeared. MC-49579 Mounted entities disappear on relogin MC-49750 Horses disapear when game is reloaded in 14w08a MC-50049 Mob-you-are-riding disappears after restarting the world MC-50443 horse and saddle disappear MC-51759 Horse disappears on logout MC-52409 Horses being ridden on save dissapear on reload MC-52442 Tamed Horse Disappeared MC-53990 Disappearing Donkey MC-54670 Tamed Horses despawn when loading world MC-55200 Exiting world while on horse causes horse to disappear MC-55323 Horse disappears when relogging while riding MC-56647 Horse disspawn MC-58418 horses despawn after quit and reload the world MC-60231 Horse disappears when quitting the game MC-60375 Opening world in which you were riding a horse causes horse to disappear MC-60837 Logged out on a horse and logged back in and it was gone MC-61973 Horses/mules/donkeys disappear if saved MC-62946 Logging out causes horses to despawn MC-63394 LAN Multiplayer doesn't save guest-player horse (is gone upon reload) MC-68791 Horses MC-70726 Boats MC-73246 I left my horse inside a dirt shelter, I closed the game, and I re-logged after a day, realizing that my horse wasn't there. Please give it to me back, because it had a saddle and iron armor on it. Thank you! MC-76554 Disappearing horses MC-80994 Horse disappears after opening to LAN MC-96881 Player-ridden entities disappear on relog MC-97893 Horses Vanishing on LAN MC-99132 Horse Dispawn at Deconnection MC-99195 Logging off on a horse -> Horse disappeared restarting the game MC-99709 Horse, saddle and horse armor disappear on save & quit if it is ridden. MC-101328 My lovely horse disappeared MC-104882 Horses Disaperring On LAN MC-105991 Spruce_boats despawn when a player left MCL-3918 Tamed horses disappear

Attachments

Comments

migrated
[media]
fienxjox

Confirmed 😞

Talven81

Hmm interesting, cannot confirm. Please provide steps to reproduce.

fienxjox

Try while in F5 mode

Talven81

No, I see that the player sits too high which is related to several other tickets. But I cannot get the horse to despawn.

fienxjox

Steps (For me):

Get on horse with saddle
F5 (first level so back view)
Log out
Log in
You're off the horse and they are gone

Talven81

Was this horse egg-spawned or natural?

Rodney Hayes

Was on existing horse. Newly spawned horses seem to stay

Rodney Hayes

The affected horse was originally egg spawned in 14w05a

fienxjox

The one I tested was natural spawn back in 1.6.x

Rodney Hayes

I restored a backup and tried to repeat this in 14w06b. No problems with despawning and the player is swatted correctly. 🙂

fienxjox

Concur, it does seem the ...b snapshot fixed it somehow.

Laurence Darby

This is still happening for me in 14w06b.

PappaDavid

And this just happened in 17w07a creative mode (horse despawning when logging out sitting on the horse).

George Cummins

This just happened to me in 17w07a in survival mode. I was riding a saddled horse, logged out, and the horse was gone when I logged in again. This bug needs to be reopened.

aymeric pierre

To be more precise, they do not dissapear when reloading, the entities are not saved when leaving the world (a simple way to check that is to open a world with mcedit after leaving while riding an entity : there is no more entity under you)

Itouch2

Still in 14w10b

steven

I just had this happen in 14w10c. For me it only happens when I put armor on my horse then re-log. It has happened both on an egg spawned horse and a natural spawned one.

Itouch2

Confirmed for 14w11b. Ridden entities don't despawn the first time.

Badprenup

Just checked something else in 14w11b. It doesn't have to do with whether or not they have armor or not from what I have seen. It seems to only happen if the Horse is tamed, as I can climb on top of it, tame it, then exit while riding it and it will be gone when I come back to the world. So from what I can see, it happens if the Horse is tamed and the player is riding it.

Gary Jacobson

Just had this happen in 14w11b in my survival world. Was sitting on a horse with diamond armor, looking at a map in my hand. Really upset to lose my best horse and the armor! Are there any tools I can use to get them back?

Ethan Wilson

I also had this happen twice in 14w11b. I think the only workaround for this is to make sure you dismount your horse upon save/quit. This needs to really be fixed, though.

Jaqi Hegland

Happens in 14w11b.

Ethan Wilson

I observed this still happening in 14w17a, so please confirm and add version to ticket. Thanks.

Itouch2

Confirmed for 14w19a.

Itouch2

Duplicate of / Relates to MC-10343.

Jess Garner

Still happening in 14w20a

Shane

This just happened to me. Riding a horse, then save and reload to view the terrain faster and the horse was gone.

Minecraft Version:
snapshot 14w21b

Java:
C:\Program Files\Java\jre7\bin>java.exe -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

OS:
Windows 7 Ultimate SP1

JVM arguments:
-Xmx4096m -Xms4096m

Ethan Wilson

Please remember a work-around is to dismount your horse/mule/donkey/etc before quitting your session. Yes, it's still not a "fix", but if you really like your steed, it's worth it. ;2)

George Lucas

Still happening in 14w21b. Just lost my precious horse 😞

James

Still happening in 14w25b.
I wasn't aware of this bug, I lost my horse (Jump of over 4 blocks and speed was brilliant, still working on a horse speed test) . I liked that horse, I dislike this bug.

Jaqi Hegland

@James, this is the reason I have cheat codes on. I don't use them much, but when the boat location dissync came up, I decided that if the glitch broke my boat, I was justified in just giving myself a new one. I used that when the horse thing happened, and wound up with superhorse. Apparently, if you summon one, you get maxed stats. Also a workaround, for those who don't know to dismount.

[Mod] redstonehelper

Can not reproduce in 1.8-pre1.

Jesper the End

kind of still happening in 1.8-pre3
If a player logs out while riding an entity, the entity disappears, but it appears again once the player logs back in.

Jaqi Hegland

I ended up underwater, but in a boat and reached the surface before starting to drown. I'll take it. When I tried it with a horse, I was still mounted and everything when I came back. It's good enough for now.

Jacob Mingear

CONFIRMED for 1.8 PRE-3. Single Player. log out on mounted horse with no horse armor. IT DISAPPEARS on LOG IN.

Isaac

For 1.8.1 pre-3 I can always reproduce this bug, with the following:
1. Play a single player world
2. Ride a horse (with a saddle?)
3. Click ESC then open to LAN
4. Save and quit to title screen
5. Reload the world,
And the horse will disappear, happens every time I do it.

Stephanie

I'm hitting that bug consistently. Lost 2 donkeys with a bunch of stuff in their saddle bags before I knew the bug was even there.

Abby

I did what Isaac did, but I did it unknowingly, I lost my tamed horse with diamond armor and saddle, her name was georgia. Is there truly no way to get her back?

kumasasa

Is there truly no way to get her back?

No.

marcono1234

Confirmed for

  • 1.8.3
    I would suggest adding the steps provided by Isaac to the description:

    1. Play a single player world
    2. Ride a horse (with a saddle?)
    3. Click ESC then open to LAN
    4. Save and quit to title screen
    5. Reload the world,
    And the horse will disappear, happens every time I do it.

Jaqi Hegland

Abby, this is why I always play with "Allow Cheats" turned on. You can summon a new horse. I mostly use it when my boat breaks for now good reason. That's much better now, but still happens occasionally. And new problems come up. When I found the bug where you use a portal and wind up in the nether and not at a nice safe portal but underground or in lava, I recreated most of my equipment. Whenever some bug destroys my stuff or kills me, I use "cheats" to recover what I lost.

That's really the only thing I use cheats for, but it comes up often enough that I keep using that setting.

Timour Fastovski

Have the same issue on 1.8.8. To replicate:

1. Ride a horse.
2. Open for LAN.
3. Exit the world to the main menu.
4. Reopen the world.
5. The horse is gone, and so is the armor and the saddle.

Does not matter whether the horse is naturally spawned or by the player.

Have lost two horses before I realized this was a bug.

marcono1234

Confirmed for

  • 15w41b

Samuel Shank

15w43a

Sciger

Confirmed for 15w45a.

Jaqi Hegland

In 15w45a I was riding and my chunks stopped loading, so I closed the game and reopened the game. I was standing next to the horse I had been riding, and then was on it, and bobbled back and forth a couple times before everything finished loading. I ended up on my horse when things stabilized.

Since then, I've found that getting off the horse and back on again frees up whatever is hanging up the chunk loading process.

kumasasa

@@unknown: MC-89915

marcono1234

Please link to this comment in the description

The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.

The reason why this is happening is very likely that the method net.minecraft.server.MinecraftServer.updateTimeLightAndEntities() runs all future tasks first. When the server is stopped one of this tasks is to logout all players. When a player gets logged out, the ridden entity is saved as RootVehicle in the player data and is removed from the world. After this the it runs a network tick (this.getNetworkSystem().networkTick();). The problem is that the players are logged out already but their connection still exists, however the channel is closed. So once this method is called, it logs the players out a second time. This time the players are not riding an entity anymore as it was removed during the last call already.

SunCat

Still in 1.9.1-pre3

SunCat

Still in 16w15b

bob

Which version exactly: 1.9.0 or 1.9.2?

Clark Thomborson

Happened to me just now in 1.10.2 – lost my minecart by logging off while riding it. It's a long walk now 😉

Martin Kobylka

this happened to me right now, single player, 1.11.2, was on a horse when saving, horse disappeared after reload..

marcono1234

Cannot confirm for either 1.11.2 nor 17w06a.

@unknown can you please attach a manually triggered crash-report (hold F3 + C for about 10 seconds).

scott

I had the exact same issue, lost diamond horse armor and fast horse.

Rodney Hayes

Agnes Larsson

Confirmed

horse, pig, riding, saddle

Minecraft 14w06a, Minecraft 14w07a, Minecraft 14w08a, Minecraft 14w11b, Minecraft 14w17a, ..., Minecraft 1.9 Pre-Release 2, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 16w15b, Minecraft 1.10.2

Minecraft 16w43a

Retrieved