Horses, Minecarts, Boats disappear after relogging.
Steps to reproduce:
Play a single player world
Ride a horse (with a saddle?)
Click ESC then open to LAN
Save and quit to title screen
Reload the world,
And the horse will disappear, happens every time I do it.
Code analysis by @unknown in this comment
Related issues
is duplicated by
relates to
Attachments
Comments

Confirmed 😞
Hmm interesting, cannot confirm. Please provide steps to reproduce.
Try while in F5 mode
No, I see that the player sits too high which is related to several other tickets. But I cannot get the horse to despawn.
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
Was this horse egg-spawned or natural?
Was on existing horse. Newly spawned horses seem to stay
The affected horse was originally egg spawned in 14w05a
The one I tested was natural spawn back in 1.6.x
I restored a backup and tried to repeat this in 14w06b. No problems with despawning and the player is swatted correctly. 🙂
Concur, it does seem the ...b snapshot fixed it somehow.
This is still happening for me in 14w06b.
And this just happened in 17w07a creative mode (horse despawning when logging out sitting on the horse).
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.
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)
Still in 14w10b
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.
Confirmed for 14w11b. Ridden entities don't despawn the first time.
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.
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?
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.
Happens in 14w11b.
I observed this still happening in 14w17a, so please confirm and add version to ticket. Thanks.
Confirmed for 14w19a.
Duplicate of / Relates to MC-10343.
Still happening in 14w20a
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
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)
Still happening in 14w21b. Just lost my precious horse 😞
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.
@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.
Can not reproduce in 1.8-pre1.
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.
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.
CONFIRMED for 1.8 PRE-3. Single Player. log out on mounted horse with no horse armor. IT DISAPPEARS on LOG IN.
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.
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.
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?

Is there truly no way to get her back?
No.

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.
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.
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.

Confirmed for
15w41b
15w43a

Confirmed for 15w45a.
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.

@@unknown: MC-89915

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.

Still in 1.9.1-pre3

Still in 16w15b
Which version exactly: 1.9.0 or 1.9.2?
Happened to me just now in 1.10.2 – lost my minecart by logging off while riding it. It's a long walk now 😉
this happened to me right now, single player, 1.11.2, was on a horse when saving, horse disappeared after reload..

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).
I had the exact same issue, lost diamond horse armor and fast horse.