YUNG's Cave Biomes (Forge)

YUNG's Cave Biomes (Forge)

4M Downloads

[1.20.1 | Forge] Crash on World Load - LegacyRandomSource Multithreading Issue

logietr0n opened this issue ยท 3 comments

commented

The game crashes upon loading a world due to a LegacyRandomSource multithreading issue, which appears to be triggered by PricklyPeachCactusBlock from YUNG's Cave Biomes.

Crash Log Snippet:

java.lang.IllegalStateException: Accessing LegacyRandomSource from multiple threads
	at net.minecraft.util.ThreadingDetector.m_199417_(ThreadingDetector.java:84)

The error suggests that multiple threads are trying to access the random number generator at the same time, leading to an IllegalStateException.

Notes:
Removing YUNG's Cave Biomes prevents the crash.
Updating to the latest Forge version did not resolve the issue.
Sinytra Connector and Embeddium are installed but are unrelated to the crash.

Would appreciate any insights on whether this can be fixed in a future update. Thanks!

commented

Hey, please provide the full log so I can take a look!

commented

v2.0.4 attempts to fix this issue by scheduling the destroyBlock method call for the next tick. Please lmk if it works for you!