isXander / Controlify

Another controller mod - for fabric!
https://www.isxander.dev/mods/controlify
GNU Lesser General Public License v3.0
135 stars 27 forks source link

[Bug] Game crashes when reconnecting controller on Linux #202

Closed RoboMico closed 5 months ago

RoboMico commented 9 months ago

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:

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

Operating System

Linux/SteamOS

ARM

Additional Information

No response

Just to make sure...

spudpiggy commented 5 months ago

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.

isXander commented 5 months ago

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.