NoelFB / Celeste

Celeste Bugs & Issue Tracker + some Source Code
MIT License
3.54k stars 419 forks source link

Crash at startup on Fedora Linux because of System.EntryPointNotFoundException: SDL_GameControllerRumble #19

Closed leyhline closed 5 years ago

leyhline commented 5 years ago

Hi!

I know it's partly my fault for running such an operating system and it's not really a problem since I can also boot up Windows for playing but here's my error anyway:

20.01.2019 13:03:50
System.TypeInitializationException: The type initializer for 'Microsoft.Xna.Framework.FNAPlatform' threw an exception. ---> System.EntryPointNotFoundException: SDL_GameControllerRumble
  at (wrapper managed-to-native) SDL2.SDL.SDL_GameControllerRumble(intptr,uint16,uint16,uint)
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.INTERNAL_AddInstance (System.Int32 dev) [0x000a4] in <52621b1e313941e696b7bf4337060d0d>:0 
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.ProgramInit () [0x00148] in <52621b1e313941e696b7bf4337060d0d>:0 
  at Microsoft.Xna.Framework.FNAPlatform..cctor () [0x00328] in <52621b1e313941e696b7bf4337060d0d>:0 
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at Microsoft.Xna.Framework.Game..ctor () [0x000cd] in <52621b1e313941e696b7bf4337060d0d>:0 
  at Monocle.Engine..ctor (System.Int32 width, System.Int32 height, System.Int32 windowWidth, System.Int32 windowHeight, System.String windowTitle, System.Boolean fullscreen) [0x0000b] in <4d0fb8c0321f48f2b396b070a936db83>:0 
  at Celeste.Celeste..ctor () [0x00012] in <4d0fb8c0321f48f2b396b070a936db83>:0 
  at Celeste.Celeste.Main (System.String[] args) [0x0011c] in <4d0fb8c0321f48f2b396b070a936db83>:0 

The game crashes right after startup and an editor with this error opens.

This just happens when my wireless XBox360 controller is connected. And more importantly, this is just a problem with Celeste-1.2.6.1. Before, I was running Celeste-1.2.4.2 and everything worked fine.

I'm running Fedora 29. I didn't try Ubuntu 18.04 but maybe I can quickly boot up a VM and try to reproduce this.

leyhline commented 5 years ago

Okay, it's the same with Ubuntu.

Besides, I forgot to mention that the same error occurs when the game is already running and I'm connecting the XBox360 controller.

NoelFB commented 5 years ago

Hey, this is because the game was accidentally built against an incorrect version of a library and went live for around ~10 minutes. If you let Steam update the game this should be fixed!

leyhline commented 5 years ago

Oh, you are right. How embarrassing. Thanks. Great game btw. Currently sitting on the B-Routes.

NoelFB commented 5 years ago

No problem, was my fault for not checking before I pushed the build out :)