I run a bedrock server , and since the 1.17 update we have had entities despawning.
First instance was a Chicken cooker farm, 20 chickens were nametagged and led to top containing area where eggs are collected.
server command stop to shutdown the server.
Bedrockserver.exe ran to start a new instance of the server.
Upon logging in the chickens are gone and cooked chicken can be found in bottom collection chest.
Server upgraded to recent release 1.17.11.01
within 1 chunk, 8 individual sheep shearing farms were set up.
Sheeps were name tagged and colored.
server command stop to shutdown the server.
Bedrockserver.exe ran to start a new instance of the server.
Upon logging in three of the eight sheeps are gone and cooked mutton can be found in bottom collection chest with the wool.
Admin in creative mode, respawned sheep, re colored, renamed tagged, so entities was back up to 8, same server restart and was able to reproduce the issue.
update 09/16/2021
after servers had issue connecting to Microsoft account services, and services were restored more of the sheep were killed/despawned with cooked mutton in chest, upon the server being restarted again.
Related issues
Attachments
Comments


This was reported in a comment on MCPE-21416 and I asked the user to create a separate BDS report for it. I have updated the summary to match what I think is happening.
It sounds like the sheep and chickens are getting struck by lightning on server restart. That sounds like both MCPE-121688 (lightning strikes through blocks) and MCPE-81913 (lightning not showing effects until world reload). MCPE-81913 is only confirmed for lightning summoned by other entities, but perhaps it affects all lightning on BDS.
The thunder storms may also be unnoticed due to MCPE-131325.

Are you using any behavior packs or mods on the server?

Hi
Does that issue still occur after updating to 1.17.34?
This ticket will automatically reopen when you reply.

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki