mojira.dev
MC-212422

Game crashes when generating a world with increased height limit

When I attempt generate a world with height range -2048 to 2036 in singleplayer,  the game crashed when 100% progress of generating world.

I investigate this, it crashed when "min_y" value set to -1952 and lower.

Following is my investigation result:

min_y: -1024, height: 1280 (range: -1024 to 255)	RESULT: OK
min_y: -1024, height: 3056 (range: -1024 to 2031)	RESULT: OK
min_y: -1536, height: 1792 (range: -1536 to 255)	RESULT: OK
min_y: -1536, height: 3568 (range: -1536 to 2031)	RESULT: OK
min_y: -1792, height: 2048 (range: -1792 to 255)	RESULT: OK
min_y: -1792, height: 3824 (range: -1792 to 2031)	RESULT: OK
min_y: -1920, height: 2176 (range: -1920 to 255)	RESULT: OK
min_y: -1920, height: 3952 (range: -1920 to 2031)	RESULT: OK
min_y: -1936, height: 2192 (range: -1952 to 255)	RESULT: OK
min_y: -1936, height: 3968 (range: -1952 to 2031)	RESULT: OK
min_y: -1952, height: 2208 (range: -1952 to 255)	RESULT: CRASHED
min_y: -1952, height: 3984 (range: -1952 to 2031)	RESULT: CRASHED
min_y: -1984, height: 2240 (range: -1984 to 255)	RESULT: CRASHED
min_y: -1984, height: 4016 (range: -1984 to 2031)	RESULT: CRASHED
min_y: -2016, height: 2272 (range: -2016 to 255)	RESULT: NOT TESTED, ASSUME CRASH
min_y: -2016, height: 4048 (range: -2016 to 2031)	RESULT: NOT TESTED, ASSUME CRASH
min_y: -2032, height: 2288 (range: -2032 to 255)	RESULT: NOT TESTED, ASSUME CRASH
min_y: -2032, height: 4064 (range: -2032 to 2031)	RESULT: NOT TESTED, ASSUME CRASH
min_y: -2048, height: 2304 (range: -2048 to 255)	RESULT: CRASHED(TESTED PREVIOUSLY)
min_y: -2048, height: 4080 (range: -2048 to 2031)	RESULT: CRASHED(TESTED PREVIOUSLY)

It seems not the "height" option caused the problem, only the "min_y".

You can use the file "worldgen_template.json" to reproduce this, which file is also I'm used to investigate this.

Also, the crash report is provided, maybe helpful.

Linked issues

Attachments

Comments 0

No comments.

anterdc99

Panda4994

Confirmed

Very Important

Crash

21w03a

21w05a

Retrieved