Controlify

Controlify

609k Downloads

[Bug] Game crashes when reconnecting controller on Linux

RoboMico opened this issue ยท 2 comments

commented

Current Behaviour

I'm using a USB wired Xbox controller and the mod seems to unable to recognize it properly only on Linux platform. The controller is unusable if it's connected before the game launch, but the game crashes whenever I try to reconnect it.

Expected Behaviour

The controller works fine on Windows and the issue only happens on Linux.

Screenshots

No response

Reproduction Steps

  1. Launch the game
  2. Connect the controller, or reconnect it if it already has
  3. The game crashes

The issue is reproducible in a fresh new game installation with minimum mod environment:

  • Minecraft 1.20.2
  • Fabric Loader 0.15.0
  • Fabric API 0.91.1
  • Controlify 1.7.0
  • Mod Menu 8.0.0
  • Yet Another Config Lib 3.3.0-beta.1
  • MIxinTrace 1.1.1+1.17
  • Java 21.0.1, Eclipse Adoptium

Logs

Log file: https://pastebin.com/5LgBStG2
Crash report: https://pastebin.com/VndGeBi9

Mod Version

1.7.0+1.20.2

Controller

Xbox 360 compatible controller

Bluetooth

  • Yes

Operating System

Linux/SteamOS

ARM

  • Yes

Additional Information

No response

Just to make sure...

  • I have made sure I am using the latest version of Controlify for the latest version of Minecraft.
  • I have made sure there are no other issues describing the same problem on the issue tracker.
commented

This is also happening to me with 2.0, and I'm on Windows 10.
I looked into the crash, and in my case it seems to be that dev.isxander.controlify.bindings.GamepadBinds doesn't exist, when it does in older versions of the mod.
I don't know how to fix it though, i just know it's broken as-is.

commented

Hey, @spudpiggy.
The crash you're experiencing is not the same as the one in this issue, but is likely caused by a conflicting mod that supports Controlify 1.0, (maybe Do-a-barrel-role?)

As for this issue, it was long ago fixed.