Page MenuHomeSolus

GOG Unity3D/Mono games don't launch
Closed, ResolvedPublic

Description

I have tried launching the following games from GOG that are built using Unity:

  • CAYNE
  • Enter the Gungeon
  • Hollow Knight
  • TIS 100
  • Tyranny Commander Edition

All of them fail to launch, with the following output in the terminal if manually launched:

Running CAYNE
Set current directory to /home/shadow53/.goggames/CAYNE/game
Found path: /home/shadow53/.goggames/CAYNE/game/cayne.x86_64
Mono path[0] = '/home/shadow53/.goggames/CAYNE/game/cayne_Data/Managed'
Mono path[1] = '/home/shadow53/.goggames/CAYNE/game/cayne_Data/Mono'
Mono config path = '/home/shadow53/.goggames/CAYNE/game/cayne_Data/Mono/etc'
displaymanager : xrandr version warning. 1.5
client has 3 screens
displaymanager screen (0)(eDP-1-1): 1366 x 768
Using libudev for joystick management


Importing game controller configs
/home/shadow53/.goggames/CAYNE/start.sh: line 16:  2957 Segmentation fault      ./"cayne.x86_64"

Games not made using Unity/Mono launch and work normally. The only non-default setting chosen at install time is to install games to a hidden directory ~/.goggames.

I've tried executing with and without LSI (using lsi-exec and disabling it through the options window, respectively) and they don't launch in either case.

I am using an Optimus laptop with the Nvidia drivers installed, up-to-date as of posting. An old Intel-only desktop (Core 2) can open TIS 100 normally. This makes me think this may be an issue related to Optimus, but I don't know where to go from there.

If someone starts figuring out a fix, CAYNE is free on GOG, which should help with testing the fix. I am also willing to help how I can.

Event Timeline

JoshStrobl edited projects, added Software; removed Lacks Project.Jan 27 2018, 5:33 PM

Figured out the problem and it was all me.

I have certain configuration/application folders stored in a separate directory that I can easily back up for if/when I wipe and reinstall my computer. These folders are then symlinked to their correct locations. Or, at least, they are supposed to be.

Instead of having ~/.dotfiles/config/unity3d symlinked to ~/.config/unity3d, the latter was linked to itself. I had to run strace on the binary to realize that the program was crashing due to "Too many levels of sybolic links." The link has been fixed and games now launch.

Oops.

This task can now be closed.

Shadow53 closed this task as Resolved.Jan 30 2018, 7:59 PM
Shadow53 claimed this task.