Mixin failures

java.lang.VerifyError: Bad local variable type (Mixin Bytecode Conflict)

What the log looks like

java\.lang\.VerifyError: Bad local variable type
Type top \(current frame, locals\[\d+\]\) is not assignable to reference type

How to fix it

  1. Look at the `Location:` line right below `java.lang.VerifyError: Bad local variable type` in your crash report; the mod ID causing the bad injection is written between dollar signs (for example, `$zga000$asteroid$` means `asteroid`).
  2. Update or remove the mod identified between the dollar signs, as its Mixin injection is incompatible with your current game version or mod list.
  3. If the `Location:` path starts with `net/caffeinemc/mods/lithium/` while using a client utility mod (like Meteor Client or Asteroid), either remove one of the two mods or disable the conflicting optimization in `config/lithium.properties` (such as setting `mixin.entity.collisions=false`).
  4. Verify that every mod installed is built for your exact Minecraft patch version rather than relying on older builds across minor updates.
LoadersFabric, Quilt, Forge, Neoforge
SeverityStops the game
CategoryMixin failures

Check your own log

Related errors