Ender Dragon causes world to become corrupted
Verification builds:
1.13.0.34 Release Build
Summary:
I'm working on a map where at the end you have to defeat the Ender Dragon.
If the Ender Dragon is in the world, and you close it, the world can't be loaded again. It will always crash while loading. This makes the map unplayable.
First I thought my behavior pack was the cause, but the issue persists after disabling it.
The chunks have been imported from Java into a void Bedrock world. The issue might be related to that, but I just don't know, because I can't get any logs about the crash. It's completely silent.
I've attached the normal world (Dimension Parkour), and the world where the Ender Dragon is in and it crashes (Dimension Parkour Crash).
The log file attached is from loading the crash world. Note that it always ends with:
"[VERBOSE ENTITY 20088 15236] Loading entity: minecraft:ender_dragon"
I've also discovered that the crash only occurs when the dragon is or has been connected to end crystals. Just the dragon works fine.
Repro Steps:
1. Load the Dimension Parkour world.
2. Fly to the end dimension cube. (Or use /tp @s 105 119 214)
3. Notice how an ender dragon spawns.
4. Close the world and try to reopen it.
5. Notice how the world crashes while loading.
Observed Results:
World crashes while loading.
Expected Results:
World doesn't crash while loading.
Screenshots/Videos attached:

Impact:
It's stopping me from submitting the map.