Thread failed main thread check: Cannot getEntities asynchronously
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 4.4k
- Forks
- 623
- PR merge metrics
- No merged PRs in 30d
Description
Expected behavior
Observed/Actual behavior
Steps/models to reproduce
just run server on folia 1.21.6 (maybe work on 1.21.7)
Plugin and Datapack List
[21:34:21 INFO]: ℹ Server Plugins (63):
[21:34:21 INFO]: Paper Plugins (6):
[21:34:21 INFO]: - CarbonChat, ChatDisplay, emotecraft, EnchantedBook, FancyNpcs, MoreFoWorld
[21:34:21 INFO]: Bukkit Plugins (57):
[21:34:21 INFO]: - AntiHealthIndicator, ArmorStandEditor, AutoWhitelistRemove, AxInventoryRestore, BreweryX, CoreProtect, CoreProtectTNT, Craftorithm, DeluxeMenus, EasyPayments
[21:34:21 INFO]: Essentials, EssentialsSpawn, fast-leaf-decay, FlagsH, GSit, HeadDatabase, InteractiveSigns, InvisibleFrames, LevelledMobs, LiteBans
[21:34:21 INFO]: LuckPerms, Maintenance, mclogs, MilkyPixelart, NBTAPI, OreAnnouncer, packetevents, PlaceholderAPI, PlasmoVoice, PlayerHeads
[21:34:21 INFO]: ProtocolLib, pv-addon-discs, pv-addon-groups, pv-addon-lavaplayer-lib, pv-addon-sculk, pv-addon-spectator, rpchat, SkinShufflePlugin, spark, squaremap
[21:34:21 INFO]: squaremap-worldguard, squaremarker, StonecuttersPLUS, TAB, Terra, TWSAdmin, TWSCheck, TWSCore, UltimateAutoRestart, UltraCosmetics
[21:34:21 INFO]: Vault, ViaBackwards, ViaVersion, Votifier, VotingPlugin, WorldEdit, WorldGuard
Folia version
ver
[21:34:34 INFO]: Checking version, please wait...
[21:34:34 INFO]: This server is running Folia version 1.21.7-DEV-ver/1.21.6@942017b (1970-01-01T00:00:00Z) (Implementing API version 1.21.7-R0.1-SNAPSHOT)
Error obtaining version information
Previous version: 1.21.6-6-e4b0ae9 (MC: 1.21.6)
Other
No response
Contributor guide
No contributing guide indexed for this repository
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 with the linked log at https://mclo.gs/UuVhA6b#L1342 and reproduce the failure on Folia 1.21.6 or 1.21.7 with the listed server setup. Trace the asynchronous getEntities call and the main-thread check; done means the reported failure no longer occurs under the reproduction conditions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100