Skip to content

Skill tree fails to load ("No tree found") when joining a dedicated server directly, but works after visiting a singleplayer world first #308

Description

@Tomraykon

When I launch the game and connect directly to a dedicated (multiplayer) server, the skill tree UI shows "No tree found" — as if no skill tree data was loaded at all.

However, I found a consistent workaround: if, in the same client session, I first enter any singleplayer world (even just briefly), then leave it and connect to the dedicated server, the skill tree loads and works correctly for the rest of that session.

This is 100% reproducible for me:

Launch the game.
Connect directly to the dedicated server → open skill tree → "No tree found".
Disconnect, enter a singleplayer world.
Leave singleplayer, reconnect to the same dedicated server → skill tree now loads correctly.

This suggests the tree data may only be getting properly initialized/loaded during some step that happens when entering an integrated (singleplayer) server, but not when connecting directly to a remote/dedicated server.

Environment:

Minecraft: 1.20.1
Fabric Loader: 0.19.5
Passive Skill Tree (Fabric port): 0.7.6+c
Mod is present and identical version on both client and server
No relevant errors specific to this mod in the server log (only an unrelated client-only mixin warning that's expected on a headless dedicated server: @mixin target net.minecraft.class_339 was not found skilltree.mixins.json:AbstractWidgetAccessor from mod skilltree)

Expected behavior: Skill tree should load correctly on first connection to the dedicated server, without needing to visit singleplayer first.

Actual behavior: Skill tree is empty/not found on first direct connection to the dedicated server.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions