Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Game Crashing when connecting a controller

A topic by Fluffhead created Jan 31, 2024 Views: 352 Replies: 2
Viewing posts 1 to 2

Context:
I beat the game with a controller, when I tried rebooting the game later (cuz I didn't get all the berries) it crashes with a error seeming to mean there's something missing for the controller to work, which is weird since I beat it with one. I hope there's a way to fix it

Here is the full Crash report:

Celeste 64 v.1.0.1
Error Log (1/31/2024 9:17:37 PM)
Call Stack:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Foster.Framework.Platform.ParseUTF8(IntPtr)
   at Foster.Framework.Input.OnControllerConnect(Int32 index, IntPtr name, Int32 buttonCount, Int32 axisCount, Byte isGamepad, UInt16 vendor, UInt16 product, UInt16 version)
   at Foster.Framework.Platform.FosterPollEvents()
   at Foster.Framework.App.<Tick>g__Update|69_0(TimeSpan)
   at Foster.Framework.App.Tick()
   at Foster.Framework.App.Run(String, Int32, Int32, Boolean )
   at Foster.Framework.App.Run[T](String, Int32, Int32, Boolean )
   at Celeste64.Program.Main(String[]) in /home/noel/Projects/Celeste64/Source/Program.cs:line 23
Game Output:
Celeste 64 v.1.0.1
Foster: v0.1.14
Platform: Microsoft Windows 10.0.19045 (X64)
Framework: .NET 8.0.1
SDL: v2.28.5
GL (ERROR:HIGH) GL error GL_INVALID_ENUM
OpenGL: v3.3.0 - Build 10.18.10.5161, Intel(R) HD Graphics
FMOD Bindings: v20218
FMOD: v20207
Developer(+1)

Hmm I'm looking into it, it seems like it's crashing because it can't figure out the controller name. I'm going to implement a fix but it may be a few days before it's live.

Hey! I tested some things and I got it working again, essentially all I did was re-register the controller in the windows settings while running the game, having my controller connected before running the game crashes it still. maybe its just something with my pc or controller lol