#Celeste Array Error Crash

6 messages · Page 1 of 1 (latest)

paper meteor
#

experiencing more crashes lately and one of the error logs i get is

Celeste Error Log

Ver 1.4.0.0-fna [Everest: 5184-azure-b5bab]
01/23/2025 01:22:19
System.InvalidOperationException: Failed to compare two elements in the array.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Monocle.EntityList.<>c.<.cctor>b__42_0(Entity a, Entity b)
at System.Collections.Generic.ArraySortHelper1.PickPivotAndPartition(Span1 keys, Comparison1 comparer) at System.Collections.Generic.ArraySortHelper1.IntroSort(Span1 keys, Int32 depthLimit, Comparison1 comparer)
at System.Collections.Generic.ArraySortHelper1.Sort(Span1 keys, Comparison1 comparer) --- End of inner exception stack trace --- at System.Collections.Generic.ArraySortHelper1.Sort(Span1 keys, Comparison1 comparer)
at System.Collections.Generic.List1.Sort(Comparison1 comparison)
at DMD<System.Void Monocle.EntityList:UpdateLists()>(EntityList this)
at SyncProxy<System.Void Monocle.EntityList:UpdateLists()>(EntityList )
at Celeste.Mod.UI.CriticalErrorHandler.HandleCriticalError(ExceptionDispatchInfo error)
at Monocle.Engine.RunWithLogging()
at Celeste.Celeste.orig_Main(String[] args)
at Celeste.Celeste.MainInner(String[] args)

#

any idea as to whats ccausing it?

subtle raptor
#

who is putting a null entity in the scene

#

we can't really debug this easily

#

try narrowing the mods list down

sharp briarBOT
#

A mod bisect is a way to find a misbehaving mod without having to check them one by one.
Here are steps on how to do it:

  1. Disable half of your enabled mods.
  2. Check to see if the issue persists.
  • If it does:
    • The mod that is causing the issue is still enabled. Disable half of your enabled mods.
  • If it doesn't:
    • The problematic mod has just been disabled. Enable the mods you just disabled, and disable the ones you had enabled.
  1. Repeat step 2 until you narrow your search to 1 mod.