mojira.dev
MC-135244

Can set SpawnRadius gamerule to invalid values causing CTD

You have the ability to set the value of SpawnRadius to a value above 30 million, up to a possible value 999,999,999 which is 33.3 times larger than should be possible.

Not only that, but setting it to one of these impossible values and then dying causes the game to disallow respawning, and upon further reloading the same world, it will either CTD , or the level.dat file will have been corrupted or deleted.

Alternatively, you might get lucky hitting the respawn button and actually spawn "in-bounds", by which I mean somewhere in the 60 million block square that is the world. However, after spawning, the surrounding chunks will either not load, or load, and then the game CTDs.

 

The first crashlog is from the game crashing when I tried to re-load a world where the spawn radius was set to 300 million.

 

The most recent crash log is from the game crashing when I had the spawn-radius set to only 20 million to guarantee that I would spawn in the world, but it crashed anyhow.

Attachments

Comments 1

Not sure how to close an issue by myself, BUT, it seems that this has been fixed in 1.13.1! The game no longer crashes with a high spawnradius as far as I can tell.

Freakin_Sweet

(Unassigned)

Unconfirmed

Minecraft 1.13

Minecraft 1.13.1

Retrieved