After fighting a wave of mobs from a trial spawner placed by a player, the trial spawner appears to lose its mob data and not function after its cooldown ends.
Step to Reproduce:
1. Place a trial spawner in creative mode and use a spawn egg (any) to tag a mob to it
2. Fight a battle with the spawner
3. Wait until cooldown ends for the spawner to be active again
Expected Result:
The spawner will return to being a waiting or active spawner with the mob data still attached
Observed Result:
The spawner appears to be empty and has no mob data yet still appears to be active
Linked issues
Attachments
Comments 10

Would MCPE-185960 describe your issue?
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
MCPE-185960 relates to the issue but does not clearly match this issue, since it has to do with ominous events and player-placed spawners. MCPE-185960 is related to naturally-generated spawners that were reassigned a mob. I was not seeing this issue with non-ominous fights with player-placed trial spawners.
Updated findings based on additional tests:
This affects both regular and ominous trial spawners, regardless of whether they're empty or not (there's a caveat to this, which I'll get into, as there are discernable differences between the two.)
What appears to determine how the data of a new mob that has been assigned to a trial spawner is reverted can mainly be attributed to 2 separate factors, those being: your gamemode after the cooldown period has ended, and the original block state of said trial spawner.
The original block state of the trial spawner (empty, or occupied) will dictate whether it will become "corrupted" after changing your gamemode from creative to survival, and can be interpreted as such:
Starting from an empty trial spawner -> will "corrupt" and appear as active after the cooldown, despite being empty. Changing your gamemode to survival will not revert the trial spawner to its original state, as it will remain "active" despite not being able to spawn mobs. A workaround for this is to simply assign it a new mob.
Starting from an occupied trial spawner -> (MCPE-185960) It will also seemingly appear as "corrupt" only if your gamemode is set to creative after the cooldown expires. Once you set your gamemode back to survival mode, the trial spawner will "successfully" update and revert to the mob it was originally assigned with. The trial spawner will function as normal and continue to spawn mobs, just not the one you assigned it.
I think it's important to make a distinction between these two, separate, but admittedly very closely related issues, as fixing one isn't guaranteed to fix the other.
While I hadn't tested Ominous events, this is the same bug. I just used a structure block with the data of a natural one as I was intending on figuring out work arounds for a map I was working on. Though this is the same bug as when I initially posted mine with the idea that it was trial spawners that I had gotten from /give had the issue and wasn't certain on all the details of this. I went and did further testing and found it just affected naturally spawning ones like I theorized it may when I made the bug report. Though there is an extra step that's unneeded to recreate the bug.
A similar bug can be found on Java, see MC-273635
Still having this issue. In a realm where the gameode is set to survial, I have one account on survial and a second one in creative. Using the creative account, I place a new spawner and then place the mob egg in, then log the creative account out of the realm. Then, I battle with my survial account kill all the mobs and when the 30 minute cooldown is over, the spawner losses the mob and reverts to an empty one.
I am able to come back with the creative account and replace the mob egg, but the spawner will still lose the mob after the fight.
I hope this gets fixed soon becuase the potential for creating maps is limitless if they get this fixed.
Still having this issue. In a realm where the gameode is set to survial, I have one account on survial and a second one in creative. Using the creative account, I place a new spawner and then place the mob egg in, then log the creative account out of the realm. Then, I battle with my survial account kill all the mobs and when the 30 minute cooldown is over, the spawner losses the mob and reverts to an empty one.
I am able to come back with the creative account and replace the mob egg, but the spawner will still lose the mob after the fight.
I hope this gets fixed soon becuase the potential for creating maps is limitless if they get this fixed.