Linux: Crash on Startup (Joycons)

Title: Linux: Crash on Startup (with Joycons)

Summary: When starting the game using Steam on Linux (Ubuntu 18.04), the game crashes if Joycons are connected via bluetooth.

Steps to reproduce:

  1. Connect at least one Switch Joycon to Human Interface Device (HID)
  2. Start Fantasy Strike via Steam

Expected Results:
Game starts.

Actual Results:
Game doesn’t even start up to the main menu.

In steam logs, the error is:

Stacktrace:

  at (wrapper managed-to-native) UnityEngine.Input.GetJoystickNames () <0x0005c>
  at (wrapper managed-to-native) UnityEngine.Input.GetJoystickNames () <0x0005c>
  at cInput.Update () <0x0001c>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x0005e>

Native stacktrace:

        /home/cpennington/.local/share/Steam/steamapps/common/Fantasy Strike/FS_Linux_Data/Mono/x86_64/libmono.so(+0x98673) [0x7f2d6acd7673]
        /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f2d761ab890]
        /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f2d7529fe97]
        /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f2d752a1801]
        /home/cpennington/.local/share/Steam/steamapps/common/Fantasy Strike/FS_Linux.bin() [0xb47dfc]
        /home/cpennington/.local/share/Steam/steamapps/common/Fantasy Strike/FS_Linux_Data/Mono/x86_64/libmono.so(+0xd8f65) [0x7f2d6ad17f65]
        /home/cpennington/.local/share/Steam/steamapps/common/Fantasy Strike/FS_Linux_Data/Mono/x86_64/libmono.so(+0x3721f) [0x7f2d6ac7621f]
        /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f2d761ab890]
        /home/cpennington/.local/share/Steam/steamapps/common/Fantasy Strike/FS_Linux.bin() [0xc6073c]
        /home/cpennington/.local/share/Steam/steamapps/common/Fantasy Strike/FS_Linux.bin() [0x46847a]
        [0x409802ac]

Debug info from gdb:

ERROR: ld.so: object '/home/cpennington/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

Notes:

Attachments:

Game Version: 1.17155

System Information:
Ubuntu 18.04

Looks to be a known issue, since @Thelo commented on this thread describing it: Unity Issue Tracker - Linux: Crash in UnityEngine.Input.GetJoystickNames when controllers with comma in name are plugged in

1 Like