MidnightControls

MidnightControls

447k Downloads

Virtual Mouse & Mode: Controller used with Quick Play arguments cause Crash.

br3n065 opened this issue ยท 1 comments

commented

Describe the bug
If Virtual Mouse is enabled and Mode is set to Controller, Minecraft will crash when launched with the new/updated Quick Play arguments (have NOT tested '--quickPlayRealm').

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Options > Controls > MidnightControls(icon) > General Options'.

  2. Enable 'Virtual Mouse'.

  3. Ensure mode will be 'Mode: Controller' on load by either:
    3a. Set mode to 'Mode: Controller'.
    Disable 'Auto Switch Mode'.

    3b. Set mode to 'Mode: Keyboard/Mouse' or 'Mode: Controller'
    Enable 'Auto Switch Mode'.
    Turn on / Connect controller.

  4. Close Minecraft.

  5. Relaunch Minecraft with one of the following quick play arguments '--quickPlaySingleplayer WorldName' or '--quickPlayMultiplayer localhost:25565' or '--quickPlayRealm 1234' (you will most likely need to replace the passed parameter).

  6. Minecraft will crash less then second after the window appears.

Expected behavior
Minecraft should load like normal.

Desktop (please complete the following information):

  • OS: Linux
  • Minecraft [1.20 & 1.20.1]
  • Fabric 0.14.21
  • Mods [fabric-api 0.83.0+1.20 or fabric-api 0.84.0+1.20.1]
  • Version 1.8.2+1.20
  • Branch Release

Additional context
If you connect the controller during the early stage of loading, eg. before majority of the loading bar on the splash screen is full, Minecraft will still crash.

Crash Report

commented

Midnight Controls 1.9.0, for Minecraft 1.20.2, has fixed this issue.
Tested '--quickPlaySingleplayer' and '--quickPlayMultiplayer' only.