#Celeste crashing upon launch

56 messages · Page 1 of 1 (latest)

vagrant owl
#

When I launch Celeste the game crashes.

The crash log reads:

Ver 1.4.0.0-fna [Everest: 5617-azure-948d9]
06/30/2025 17:24:48
System.NullReferenceException: Object reference not set to an instance of an object.
at Celeste.Mod.GameHelper.Utils.MiscHooks.DialogClean(orig_Clean orig, String name, Language language) in X:\GameHelper\Utils\MiscHooks.cs:line 9
at Hook<System.String Celeste.Mod.GameHelper.Utils.MiscHooks::DialogClean(On.Celeste.Dialog+orig_Clean,System.String,Celeste.Language)>(String , Language )
at Celeste.Mod.VanillaEditHelper.VanillaEditHelperModule.DialogOnClean(orig_Clean orig, String name, Language language)
at Hook<System.String Celeste.Mod.VanillaEditHelper.VanillaEditHelperModule::DialogOnClean(On.Celeste.Dialog+orig_Clean,System.String,Celeste.Language)>(String , Language )
at Celeste.Mod.Spirialis.AuroraMoon.CustomGetDialog(orig_Clean orig, String name, Language language)
at Hook<System.String Celeste.Mod.Spirialis.AuroraMoon::CustomGetDialog(On.Celeste.Dialog+orig_Clean,System.String,Celeste.Language)>(String , Language )
at SyncProxy<System.String Celeste.Dialog:Clean(System.String, Celeste.Language)>(String , Language )
at Celeste.MainMenuClimb..ctor(Oui oui, Vector2 targetPosition, Vector2 tweenFrom, Action onConfirm)
at Celeste.OuiMainMenu.orig_CreateButtons()
at DMD<System.Void Celeste.OuiMainMenu:CreateButtons()>(OuiMainMenu this)
at Hook<System.Void Celeste.Mod.CollabUtils2.UI.InGameOverworldHelper::OnOuiMainMenuCreateButtons(On.Celeste.OuiMainMenu+orig_CreateButtons,Celeste.OuiMainMenu)>(OuiMainMenu )
at SyncProxy<System.Void Celeste.OuiMainMenu:CreateButtons()>(OuiMainMenu )
at Celeste.OuiMainMenu.Added(Scene scene)
at DMD<DMD<>?8373673::Monocle.EntityList::UpdateLists>(EntityList this)
at FrostHelper.Components.PostAwakeHook.EntityListOnUpdateLists(orig_UpdateLists orig, EntityList self)
at Hook<System.Void FrostHelper.Components.PostAwakeHook::EntityListOnUpdateLists(On.Monocle.EntityList+orig_UpdateLists,Monocle.EntityList)>(EntityList )
at SyncProxy<System.Void Monocle.EntityList:UpdateLists()>(EntityList )
at DMD<System.Void Celeste.OverworldLoader:LoadThread()>(OverworldLoader this)
at Celeste.Mod.SkinModHelper.LoaderHook.OverworldLoaderLoadThreadHook(orig_LoadThread orig, OverworldLoader self)
at Hook<System.Void Celeste.Mod.SkinModHelper.LoaderHook::OverworldLoaderLoadThreadHook(On.Celeste.OverworldLoader+orig_LoadThread,Celeste.OverworldLoader)>(OverworldLoader )
at SyncProxy<System.Void Celeste.OverworldLoader:LoadThread()>(OverworldLoader )
at Celeste.RunThread.RunThreadWithLogging(Action method)

Ver 1.4.0.0-fna [Everest: 5617-azure-948d9]
06/30/2025 17:24:48
System.InvalidOperationException: There is an error in XML document (1, 1).
---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveData.Read22_SaveData()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at Celeste.UserIO.Deserialize[T](Stream stream) in Celeste.Mod.mm/Patches/UserIO.cs:line 128
at Celeste.UserIO.orig_Load[T](String path, Boolean backup)

vagrant owl
floral jetty
#

does the message at the top change then

vagrant owl
#

? The crash log is from after all my mods are up to date

floral jetty
#

what version is gamehelper then

vagrant owl
#

1.7.6.0

floral jetty
#

@limpid mural crash on either corrupted save or settings i think

#

what if you disable gamehelper then

vagrant owl
#

sure, I'll try disabling it, one sec

#

It launches fine with it disabled

floral jetty
#

okay so it is gamehelper

limpid mural
#

I have already added a null check that probably fixes that which will be published tomorrow

floral jetty
#

ah

#

thanks

vagrant owl
#

Oh, Cool 3celine

vagrant owl
#

Unfortunately the game still crashes after update :/

#

Ver 1.4.0.0-fna [Everest: 5617-azure-948d9]
07/02/2025 11:45:08
System.NullReferenceException: Object reference not set to an instance of an object.
at Celeste.Mod.GameHelper.Utils.Util.GetCelesteSaveName(Int32 slot) in X:\GameHelper\Utils\Util.cs:line 70
at Celeste.Mod.GameHelper.Features.MiscHooks.DialogClean(orig_Clean orig, String name, Language language) in X:\GameHelper\Features\MiscHooks.cs:line 10
at Hook<System.String Celeste.Mod.GameHelper.Features.MiscHooks::DialogClean(On.Celeste.Dialog+orig_Clean,System.String,Celeste.Language)>(String , Language )
at Celeste.Mod.Spirialis.AuroraMoon.CustomGetDialog(orig_Clean orig, String name, Language language)
at Hook<System.String Celeste.Mod.Spirialis.AuroraMoon::CustomGetDialog(On.Celeste.Dialog+orig_Clean,System.String,Celeste.Language)>(String , Language )
at SyncProxy<System.String Celeste.Dialog:Clean(System.String, Celeste.Language)>(String , Language )
at Celeste.MainMenuClimb..ctor(Oui oui, Vector2 targetPosition, Vector2 tweenFrom, Action onConfirm)
at Celeste.OuiMainMenu.orig_CreateButtons()
at DMD<System.Void Celeste.OuiMainMenu:CreateButtons()>(OuiMainMenu this)
at Hook<System.Void Celeste.Mod.CollabUtils2.UI.InGameOverworldHelper::OnOuiMainMenuCreateButtons(On.Celeste.OuiMainMenu+orig_CreateButtons,Celeste.OuiMainMenu)>(OuiMainMenu )
at SyncProxy<System.Void Celeste.OuiMainMenu:CreateButtons()>(OuiMainMenu )
at Celeste.OuiMainMenu.Added(Scene scene)
at DMD<DMD<>?30750038::Monocle.EntityList::UpdateLists>(EntityList this)
at FrostHelper.Components.PostAwakeHook.EntityListOnUpdateLists(orig_UpdateLists orig, EntityList self)
at Hook<System.Void FrostHelper.Components.PostAwakeHook::EntityListOnUpdateLists(On.Monocle.EntityList+orig_UpdateLists,Monocle.EntityList)>(EntityList )
at SyncProxy<System.Void Monocle.EntityList:UpdateLists()>(EntityList )
at DMD<System.Void Celeste.OverworldLoader:LoadThread()>(OverworldLoader this)
at Celeste.Mod.SkinModHelper.LoaderHook.OverworldLoaderLoadThreadHook(orig_LoadThread orig, OverworldLoader self)
at Hook<System.Void Celeste.Mod.SkinModHelper.LoaderHook::OverworldLoaderLoadThreadHook(On.Celeste.OverworldLoader+orig_LoadThread,Celeste.OverworldLoader)>(OverworldLoader )
at SyncProxy<System.Void Celeste.OverworldLoader:LoadThread()>(OverworldLoader )
at Celeste.RunThread.RunThreadWithLogging(Action method)

Ver 1.4.0.0-fna [Everest: 5617-azure-948d9]
07/02/2025 11:45:08
System.InvalidOperationException: There is an error in XML document (1, 1).
---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveData.Read22_SaveData()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at Celeste.UserIO.Deserialize[T](Stream stream) in Celeste.Mod.mm/Patches/UserIO.cs:line 128
at Celeste.UserIO.orig_Load[T](String path, Boolean backup)

floral jetty
#

@limpid mural?

limpid mural
#

bruh

#

here is line 70
return (UserIO.Exists(s) ? UserIO.Load<SaveData>(s).Name : "") ?? "";

#

I guess it could be that User.Exists(s) is true but Load(s) is null? whatever sense that makes

floral jetty
#

because it looks like it

limpid mural
#

probably

floral jetty
#

i think userio.exists literally checks if file.exists

limpid mural
#

I guess I can add a ? after Load(s)

#

ok, I did that (from my phone). I can publish it in the evening (or give you a test build)

vagrant owl
floral jetty
#

can you temporarily install celesterepl? i want to test something

brave lichenBOT
vagrant owl
#

ok

floral jetty
#

this lets you run c# code inside of celeste

#

do you have a corrupted savefile
somewhere?

#

and if so, which slot

vagrant owl
#

My slot 1 is corrupted

floral jetty
#

okay, you'll need to run UserIO.Exists(0) and UserIO.Load<SaveData>(0) is null

vagrant owl
#

sure

limpid mural
floral jetty
vagrant owl
floral jetty
#

which one, first?

vagrant owl
floral jetty
#

oh its not supposed to be on the same line

vagrant owl
#

oh

limpid mural
floral jetty
#

remove the semicolons and put them one line at a time

floral jetty
#

then yeah put "0" instead of 0

limpid mural
#

yes

vagrant owl
floral jetty
#

yep @limpid mural

floral jetty
vagrant owl
#

np

limpid mural
#

ok, then my edit should fix it