Skip to content

[Bug] 15.0.1 Universal fails to patch SkinManager on NeoForge 1.21.1: "matched protocol 0 but did not modify any bytecode" #387

Description

@Kitty-Hivens

CustomSkinLoader_Universal-15.0.1 on Minecraft 1.21.1 with NeoForge crashes at startup:

java.lang.IllegalStateException: Failed to transform net/minecraft/client/resources/SkinManager with customskinloader:skin-manager-patch
Caused by: java.lang.IllegalStateException: Patch 'customskinloader:skin-manager-patch:skin-manager.<init>.v1' matched protocol 0 but did not modify any bytecode. If you want to force CustomSkinLoader to ignore this patch failure, add -Dcustomskinloader.ignorePatchFailure=true to the JVM arguments.

Reproduced identically on NeoForge 21.1.234 and 21.1.241. Sinytra Connector is present in the modpack; disabling the other skin-related mods (EMF/ETF) does not change the outcome.

With -Dcustomskinloader.ignorePatchFailure=true the game starts, but skins do not load at all (default skin renders for everyone), so the failed SkinManager hook is load-bearing rather than optional.

Full log available on request.

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