IceReaper / OpenKrush

A KKnD and KKnD2 mod on OpenRA engine.
https://kknd-game.com
GNU General Public License v3.0
102 stars 6 forks source link

Linux launch failure #23

Closed Zogg closed 5 years ago

Zogg commented 5 years ago

When launching AppImage:

./KKnD-release-20181216.AppImage
exception inside UnhandledException handler: Attempted to access a missing member.

[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method 'Array.Empty' not found.
  at OpenRA.ExceptionHandler.BuildExceptionReport (System.Exception ex) <0x408a5e60 + 0x00043> in <filename unknown>:0 
  at OpenRA.ExceptionHandler.HandleFatalError (System.Exception ex) <0x4089b940 + 0x00433> in <filename unknown>:0 
  at OpenRA.Program.Main (System.String[] args) <0x40873d60 + 0x0010f> in <filename unknown>:0 

OS: Ubuntu 16.04.5 LTS Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)

IceReaper commented 5 years ago

Try updating your mono Installation

Wend1go commented 5 years ago

Getting the same error. Mono is the newest version available in the official repository. (Linux Mint 18.3 / 64Bit)

$ mono --version
Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            sgen

Maybe you could add mono to the AppImage. Installing the dependency via package manager makes the game less portable.

pchote commented 5 years ago

Adding mono to the AppImage is planned upstream, but that is easier said than done because it depends on first removing System.Drawing from the entire codebase because that depends on libgdiplus which depends on a large number of other libraries that we don't want to package.

IceReaper commented 5 years ago

After the refactoring process is through, i will completely overhaul the readme, telling precisely what is required to get this running. Otherwise bundling mono or .net core should be a feature request to OpenRA itself.