Mixin failuresjava.lang.VerifyError: Bad return type
What it looks like in the log
java.lang.VerifyError: Bad return type
How to fix it
- Look at the `Location:` line and stack trace directly below `java.lang.VerifyError: Bad return type`; if it mentions `Config.` or `detectOptifine`, remove OptiFine from your `mods` folder or install the exact build made for your Minecraft and Forge version.
- Inspect your `mods` folder (including versioned subfolders inside `mods`) and remove any JAR built for a different Minecraft version, especially coremods and rendering mods.
- Check the `WARNING: coremods are present:` list at the top of the crash report or the `locals:` list under `Current Frame:` to identify coremods or Mixins touching the broken class.
- Update your mod loader and the mods modifying the class shown under `Location:`, or test without recently added performance/tweaker mods to isolate conflicting bytecode patches.
| Loaders | Forge, Neoforge, Fabric, Quilt |
|---|
| Severity | Stops the game |
|---|
| Category | Mixin failures |
|---|
Check your own log