Detected unsafe terrain read during worldgen in 26.2 (MC-307918)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Stack trace
Both Vanilla and Paper have this issue when loading deep dark biomes.
See MC-307918.
This is not exactly a stacktrace or exception, is an error log that might get spammed without printing any stacktrace or interrupting the execution of any code.
Still, it prints a large wall of error logs that makes it hard to ignore, and will definitely send server owners not yet aware of this into a panic.
Log in Paper:
https://pastes.dev/x7sueyL2oN
Plugin and Datapack List
Datapacks:
None
Plugins:
Worlds
Actions to reproduce (if known)
To re-create on Paper:
- Create a new server
- Install a world manager, in this case Worlds
- Generate a single-biome deep dark world using
/world create test type single-biome minecraft:deep_dark - When teleported, fly around for a bit
- Check the console
Seems to be related to the sculk propagating randomly, so it might take a couple of tries, although the single biome world should make it extremely common.
This is not a Worlds, or any world manager issue, it happens on a clean server with no plugins when using seeds like the following, but is way harder to trigger:
8419721602848250140-3343607211599936850
Paper version
This server is running Paper version 26.2-37-dev/26.2@f86d935 (2026-06-27T22:00:27Z) (Implementing API version 26.2.build.37-alpha)
Other
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the error on Paper 26.2-37-dev with a clean server and a single-biome deep dark world, following the listed /world create and flight steps. Compare the console output with the linked log and MC-307918; done should mean the unsafe terrain read no longer produces the reported error log during deep dark world generation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100