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] Fabric 1.20.2 - Crash when trying to use chat without controller in #186

Closed SpikyStars closed 10 months ago

SpikyStars commented 10 months ago

Current Behaviour

If you do not have a controller connected, after sending a message in the chat, and trying to re-open the chat, the game immediately crashes. If you do have a controller connected, no crashes are experienced. (at least with the controller I tested with, which is a pretty standard Xbox controller connected through USB-C to USB-A cable)

Expected Behaviour

The game shouldn't crash - usually I'd assume you'd probably be using a controller if you had this mod installed, but where this might be a concern would be modpacks that helpfully bundle this mod for the client in case the user wishes to use a controller to play the game, but that as a whole are not modpacks specifically made for controller users.

Screenshots

No response

Reproduction Steps

  1. Launch the game with Controlify and all required library mods, but without a controller connected
  2. Create or join a singleplayer world
  3. Send anything into the chat - can be either a user-created message or one generated by the game (such as a "that command didn't exist" message)
  4. Try to re-open the chat
  5. It should crash - let me know if there are any problems recreating this behavior because I can get it to happen consistently on my end.

Logs

Log from launcher: 
https://mclo.gs/xYF8dtJ

Crash log:
https://mclo.gs/1JV6y5h

Mod Version

1.7.0-beta.3+1.20.2

Controller

issues

Bluetooth

Operating System

Windows

ARM

Additional Information

No response

Just to make sure...