mojira.dev
MCPE-144208

Lost all pets, entities, and NPCs when log out or leave area

Note from [~GoldenHelmet]

Please remember that the bug tracker is here to collect information about bugs for the developers. Comments should focus on giving new information about how to reproduce or work around the bug. To show that you are affected, use the "Vote for this issue" link.

To discuss the bug, you may use the Mojira discord and Mojira subreddit. Please use those forums to relate your experience, express how you feel about the bug, theorize about possible causes, and ask questions about game mechanics.


At this point it is well established that

  • the bug affects all kinds of entities near the player, and

  • it is not triggered only by closing the app without using the "save & quit" button to close the world first.

However, you should always use "save & quit" to exit your worlds because that is the intended way for the game to make sure all data has been saved and it gives you the best chance of not losing anything.

After updating to 1.17.34, none of my entities are saved. Pets, villagers, and livestock are all gone, as well as all boats holding villagers, and hopper minecarts running under farm collection systems.  Everything is vacant. Like the Langoliers here, now. How infuriating. 

UPDATE: after further testing, it appears that the app close save routines are absent. Previously, since I’ve been playing these past six or so years, closing the app saved everything just as if I’d gone through the Save & Quit menu, but without changing my world thumbnail (which was nice: I could deliberately choose what view to represent my world in the list).  Now, however, closing the app not only doesn’t save my entities, but also deletes any I had previously saved using Save & Quit. This means that if ever my app crashes or I have to exit for any reason without going through Save & Quit, I will always lose all pets, farms and entities. Terrible.  

Screenshots below updated to include: cows corralled; cows still there after exiting by Save & Quit; cows vanishing after closing the app, despite them having been saved previously. 

Linked issues

BDS-15606 Villagers, golems, and fenced in animals keep vanishing. Resolved BDS-15627 Armor stand and armor disappear Resolved BDS-15628 All of my villagers disappeared Resolved BDS-15631 When reentering a world all npcs disapear Resolved BDS-15635 Every time that I have a horse that is tied to a post and I save the game and I leave and then I come back later and the horses always gone I put armor and a saddle and have the horse next to my Base Resolved

Attachments

Comments 176

I think it’s an error to call this a duplicate. I previously experienced the bug you refer to, as I have been randomly losing minecarts and villagers since playing 1.17. This is something quite different. This is entity despawning gone nuclear, and is clearly related to closing the app versus saving and exiting manually, as demonstrated by my update and added screenshots.  Almost every previously saved entity in my entire world is gone.  Every last one, with a single inexplicable exception of the first zombie villager I cured, who remains sleeping in his bed (for now). 

I can upload my world for you to test and verify this behavior difference between app exit methods being responsible for these disappearances. 

[Mojang] Mega_Spud (Jay)

If you have a copy of the world available, you might like to upload a copy of it for investigation.

  • On Windows 10 you can use the Export world feature.

  • On Android or iOS you need to use a file explorer to navigate to Device storage > games > com.mojang > minecraftWorlds

  • On Xbox or Switch the only way is to upload it to a Realm, and then download the world on Windows 10 or Android/iOS. (Please do not purchase a Realms subscription just to provide a world to us - but if you have a Realm already this may be a viable option if you wish to do so.)

If the world is larger than 10MB you can upload the world to OneDrive or a similar file sharing site, and then share the link.

On iOS, you would need the entire world folder, yes?  If so, I’m having trouble figuring out how to transfer/upload the entire file store for the world.  There must be a zip utility that will work, I just have to find a satisfactory one.   

Losing entities when you force-close the app without using Save & Quit is not really the app's fault. You're not giving it a chance to save the latest changes, including mob movements from one chunk to another. Can anyone reproduce this mass despawning when using Save & Quit?

How can something that has always worked flawlessly suddenly becoming unstable or unusable not be a bug?  The app has to be designed to save properly under all closing circumstances, otherwise who wants to play a game in which hours of work can be undone simply because the app crashes or some other unforseeable reason?  And this brings up another aspect of why your response is off the mark: even if everything is saved properly every time, all it takes is one accidetal close to wipe it all out. I can’t believe you are arguing this is okay behavior. This is not at all how it has historically behaved.  

166 more comments

I play on Xbox bedrock realm. Upon logging out and then logging again later. 5 villagers despawned. Remaining villagers would not breed untill beds were broken. New villagers after growing would not take jobs till broke job blocks and replaced.

MarriedInMinecraft

Is this the same issue as is beig reported on MCPE-152282, and if so, should our reports go there?

Alexander Roman

I can confirm this is bug is still happening, just not as frequently I assume. I lost a horse or two in a closed area and upload a backup save about 30 minutes prior and they're still in their cage.

The issue tracked on this ticket and fixed in 1.18.10 involved all entities in an area failing to save when exiting a world. If you are losing just a few entities at a time or only some of the entities in an area then it is not this bug.

  • If the lost entities were able to move across chunk borders, please follow MCPE-21416.

  • If the mob loss seems to correlate with connection issues or leaving the game running for long periods of time, especially on consoles, we are trying to gather information on MCPE-152282.

  • If the mob loss is occurring on Realms, we will try to gather information on REALMS-10040.

This bug report has been resolved. Please stop adding comments to it: They will be removed. See GoldenHelmet's comment above for similar bug reports that you might be having an issue with. Also, please remember that comments should contain new information only. "Me too" comments are not helpful and will be removed.

HairBand1980

(Unassigned)

641814, 677158

Confirmed

Multiple

iOS 14.7.1

1.18.10.24 Beta, 1.18.10.21 Beta, 1.18.0.24 Beta, 1.18.0.23 Beta, 1.18.0.21 Beta, ..., 1.18.0.25 Beta, 1.17.41 Hotfix, 1.18.0, 1.18.1 Hotfix, 1.18.2 Hotfix

1.18.10.26 Beta, 1.18.0.25 Beta, 1.18.0, 1.18.10

Retrieved