zEssentials icon indicating copy to clipboard operation
zEssentials copied to clipboard

Thread failed main thread check: Cannot asynchronously load chunks

Open K1ritoz opened this issue 3 months ago • 0 comments

Terms

  • [x] I'm using the very latest version of zEssentials and its dependencies (zMenu and PlaceholdersAPI).
  • [x] I am sure this is a bug and it is not caused by a misconfiguration or by another plugin.
  • [x] I've looked for already existing issues on the Issue Tracker and haven't found any.
  • [x] I already searched on the plugin wiki to know if a solution is already known.
  • [x] I already searched on the discord to check if anyone already has a solution for this.
  • [x] I tested this with just zEssentials and its dependencies and with a vanilla client of the same version as the Server.
  • [x] I enabled the debug mode in config.yml and sql debug

Discord Username (optional)

No response

Server Version

1.21.4

Server Software

This server is running Folia version 1.21.8-5-ver/1.21.8@7a1c5c7 (2025-09-04T12:50:30Z) (Implementing API version 1.21.8-R0.1-SNAPSHOT)

zEssentials Version

1.0.2.7

zMenu Version

1.1.0.3

What happened?

[18:28:20 INFO]: rolimacaco issued server command: /home pinto [18:28:20 ERROR]: [ca.spottedleaf.moonrise.common.util.TickThread] Thread failed main thread check: Cannot asynchronously load chunks, context=[thread=Region Scheduler Thread #0,class=io.papermc.paper.threadedregions.TickRegionScheduler$TickThreadRunner,region={center=[-186, 288],world=world}], world=world, chunk_pos=[-69, 163] java.lang.Throwable: null at ca.spottedleaf.moonrise.common.util.TickThread.ensureTickThread(TickThread.java:88) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.server.level.ServerChunkCache.syncLoad(ServerChunkCache.java:103) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.server.level.ServerChunkCache.getChunkFallback(ServerChunkCache.java:156) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.server.level.ServerChunkCache.getChunk(ServerChunkCache.java:330) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.world.level.Level.getChunk(Level.java:1093) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.world.level.Level.getBlockState(Level.java:1386) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at org.bukkit.craftbukkit.block.CraftBlock.getType(CraftBlock.java:245) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at zEssentials-1.0.2.7.jar/fr.maxlego08.essentials.zutils.utils.ZUtils.isValid(ZUtils.java:144) ~[zEssentials-1.0.2.7.jar:?] at zEssentials-1.0.2.7.jar/fr.maxlego08.essentials.zutils.utils.ZUtils.toSafeLocation(ZUtils.java:118) ~[zEssentials-1.0.2.7.jar:?] at zEssentials-1.0.2.7.jar/fr.maxlego08.essentials.user.ZUser.teleport(ZUser.java:334) ~[zEssentials-1.0.2.7.jar:?] at zEssentials-1.0.2.7.jar/fr.maxlego08.essentials.user.ZUser.teleport(ZUser.java:297) ~[zEssentials-1.0.2.7.jar:?] at zEssentials-1.0.2.7.jar/fr.maxlego08.essentials.module.modules.HomeModule.teleport(HomeModule.java:145) ~[zEssentials-1.0.2.7.jar:?] at zEssentials-1.0.2.7.jar/fr.maxlego08.essentials.commands.commands.home.CommandHome.perform(CommandHome.java:69) ~[zEssentials-1.0.2.7.jar:?] at zEssentials-1.0.2.7.jar/fr.maxlego08.essentials.zutils.utils.commands.VCommand.safelyPerformCommand(VCommand.java:462) ~[zEssentials-1.0.2.7.jar:?] at zEssentials-1.0.2.7.jar/fr.maxlego08.essentials.zutils.utils.commands.VCommand.prePerform(VCommand.java:398) ~[zEssentials-1.0.2.7.jar:?] at zEssentials-1.0.2.7.jar/fr.maxlego08.essentials.commands.ZCommandManager.processRequirements(ZCommandManager.java:117) ~[zEssentials-1.0.2.7.jar:?] at zEssentials-1.0.2.7.jar/fr.maxlego08.essentials.commands.ZCommandManager.onCommand(ZCommandManager.java:77) ~[zEssentials-1.0.2.7.jar:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[folia-api-1.21.8-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:83) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar:?] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:30) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:105) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:451) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.commands.Commands.performCommand(Commands.java:357) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.commands.Commands.performCommand(Commands.java:345) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2357) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$13(ServerGamePacketListenerImpl.java:2330) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$tryHandleChat$16(ServerGamePacketListenerImpl.java:2489) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:243) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1660) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:418) ~[folia-1.21.8.jar:1.21.8-5-7a1c5c7] at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:546) ~[concurrentutil-0.0.3.jar:?] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Steps to reproduce the issue

/home

Full Server Log

https://mclo.gs/TVrNnlE

Error (optional)


Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

K1ritoz avatar Sep 29 '25 18:09 K1ritoz