[Cannot invoke "net.minecraft.class_2487.method_10545(String)" because "tagHeightmaps" is null].

Log: https://mclo.gs/aiLxjsr TL;DR of that log: Server spams the DistantHorizons: couldn't load or make chunk at [[location]].Please try optimizing your world to fix this issue. error after a player joins the world. It starts with a more verbose error message, then switches to that alone. This happens both with the other mods I was using (C2ME, Fabric API, Krypton, Lithium) and without (as in that log). The world is composed of chunks from various other worlds (using MCA Selector), and then was optimized with the vanilla client world optimization feature. That composition is the only thing I know of out of the ordinary here, so I can only assume it doesn't like it for some reason. I don't know what I would do to make DH happy if that's its problem though. I first noticed that DH was sending my client LODs for chunks it had generated itself rather than for the real chunks that already existed in the world at those locations. I made the following edits to the config file: - assumePreExistingChunksAreFinished = true - distantGeneratorMode = "PRE_EXISTING_ONLY" I then deleted the databases on both the server and the client to reset them. After making those changes, the result was that the server did not seem to send the client any LODs at all. It was at this point that I noticed the log errors. I also just set recalculateChunkHeightmaps = true and tested it. This did not fix the problem.
mclo.gs
Fabric 1.21.5 Server Log [#aiLxjsr]
25001 lines | 890 errors
Solution:
Alrighty, in case anyone with a similar problem comes across this in future, here is how I fixed it! 1. Install chunky on the server 2. Set "forceLoadExistingChunks": true in chunky's config file 3. Use chunky's corners command to set a rectangle around the world (I did it in smaller pieces so they were closer to actual rectangles and chunky didn't have to generate too many new chunks)...
Jump to solution
2 Replies
Voxel(s)
Voxel(s)OP2w ago
Update: There are animals falling from the sky in some places, so whatever is wrong with this world is most definitely my fault. DH just particularly doesn't like it. I took DH off the server so it wouldn't spam the logs, but I left it on my client, and now it's throwing errors there relating to Lithium and a "HashPalette". I obviously broke this world somehow while moving things around, so I'm not expecting compatibility anymore. At this point I'm mostly curious to know if anyone has any idea of what's actually going on and what the solution is (if any).
Solution
Voxel(s)
Voxel(s)2w ago
Alrighty, in case anyone with a similar problem comes across this in future, here is how I fixed it! 1. Install chunky on the server 2. Set "forceLoadExistingChunks": true in chunky's config file 3. Use chunky's corners command to set a rectangle around the world (I did it in smaller pieces so they were closer to actual rectangles and chunky didn't have to generate too many new chunks) 4. Run chunky on those existing chunks, which apparently loads them like a player would, updating them in a way that makes DH happy

Did you find this page helpful?