Stuck on 'Loading terrain...'
stantios opened this issue ยท 9 comments
Basically the title, here are my logs: https://mclo.gs/tbWBojG (Nether) https://mclo.gs/hz9JNbv (End)
This happened when I tried to go to a dimension through a portal either to the Nether or End.
After mapping the exception to yarn, we get:
[21:51:37] [Render thread/ERROR]: Error executing task on Client
java.lang.NullPointerException: Cannot invoke "net.minecraft.client.world.ClientWorld.getChunkManager()" because "this.world" is null
The null world was not caused by Hold That Chunk. It's an odd edge case to encounter though. Did you test the same thing on other servers?
After mapping the exception to yarn, we get:
[21:51:37] [Render thread/ERROR]: Error executing task on Client java.lang.NullPointerException: Cannot invoke "net.minecraft.client.world.ClientWorld.getChunkManager()" because "this.world" is null
The null world was not caused by Hold That Chunk. It's an odd edge case to encounter though. Did you test the same thing on other servers?
I have tried this on other servers, and I don't get the same issue? It seems to be an issue with only that server, is there any fix?
I will probably have to push an update in which the chunk unload task returns early if the world is null. Could you additionally test whether the issue still occurs when Hold That Chunk and Quilted Fabric API are the only enabled mods?
I will probably have to push an update in which the chunk unload task returns early if the world is null. Could you additionally test whether the issue still occurs when Hold That Chunk and Quilted Fabric API are the only enabled mods?
Nope, the issue doesn't happen.
Perhaps another mod is interacting somehow. Regardless, this should be fixed by adding a null check in Hold That Chunk. You could test it by having your usual mods enabled and using the new Hold That Chunk build from:
https://github.com/dlee13/hold-that-chunk/actions/runs/3404524378
Perhaps another mod is interacting somehow. Regardless, this should be fixed by adding a null check in Hold That Chunk. You could test it by having your usual mods enabled and using the new Hold That Chunk build from: https://github.com/dlee13/hold-that-chunk/actions/runs/3404524378
This issue is weird, I've just tried with my main mod setup (the one I originally got the error / issue with) and the issue doesn't seem to appear anymore like I'm not getting stuck on 'Loading Terrain...'. I'm using Hold That Chunk 2.0.0 not the github actions build
So it's not reliably reproducible, the worst type of thing to debug. lol
Yeah, I'm sorry about that. But hopefully the commit you pushed about null-world fixes the issue and people won't get it anymore.