#Game crashing when reloading map

4 messages · Page 1 of 1 (latest)

cobalt wedge
#

so, I've been trying to make a map but I've been having this issue where, sometimes when I save the map on Lönn and the game tries to reload it, it randomly just crashes sometimes

==========================================

Ver 1.4.0.0-fna [Everest: 3650-azure-75d7c]
12/24/2022 17:27:02
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at Monocle.VirtualContent.UnloadOverworld() in /home/vsts/work/1/s/Celeste.Mod.mm/Patches/Monocle/VirtualContent.cs:line 76
   at Celeste.LevelLoader.<>c.<ctor>b__9_0() in /home/vsts/work/1/s/Celeste.Mod.mm/Patches/LevelLoader.cs:line 50
   at Celeste.Mod.MainThreadHelper.Update(GameTime gameTime) in /home/vsts/work/1/s/Celeste.Mod.mm/Mod/Helpers/MainThreadHelper.cs:line 133
   at Microsoft.Xna.Framework.Game.Update(GameTime gameTime)
   at DMD<Monocle.Engine::Update>(Engine this, GameTime gameTime)
   at Trampoline<Monocle.Engine::Update>?52644065(Engine , GameTime )
   at ExtendedVariants.Variants.NoFreezeFrames.onEngineUpdate(orig_Update orig, Engine self, GameTime gameTime) in /home/runner/work/ExtendedVariantMode/ExtendedVariantMode/Variants/NoFreezeFrames.cs:line 52
   at Hook<Monocle.Engine::Update>?41184891(Engine , GameTime )
   at Celeste.Celeste.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.Game.RunLoop()
   at Microsoft.Xna.Framework.Game.Run()
   at Monocle.Engine.RunWithLogging() in /home/vsts/work/1/s/Celeste.Mod.mm/Patches/Monocle/Engine.cs:line 34```

looking at the error log, I think it might be caused by ExtendedVariants's "NoFreezeFrames"
This also happens when I use Ahorn instead of Lönn, any help would be appreciated
past bough
#

It's probably not caused by extended variants, but I'm not sure what it is caused by

cobalt wedge
#

tried to keep reloading the map again but without extended variants installed; been able to save & reload it 100 times in a row without it crashing this time so far

glad seal
#

And does it come back when you get extended variants back?