Skip to content

[Bug]: Energy Booster Single Use Crash #111

Description

@Ob3vious

Before You Report

  • My mods and Everest install are up to date.
  • I have recreated the bug with a minimum number of mods installed.

What platform are you playing on?

Windows 11 FNA

Bug Description

Exiting an Energy Booster with One Use enabled crashes the game. I assume this is not intended and it was not present in an earlier version of the helper. From the crash logs it seems to be because of the LightRenderer no longer being able to find the light from the energy booster that got removed.

Steps to Reproduce

  1. Set up an energy booster with one use active:
Image
  1. Enter the booster

Log Output

Loaded Mods
(entries marked with * are known to not match latest on the database)
 - Everest: 1.6418.0-azure-19d6c-stable [Celeste.Mod.Core.CoreModule]
 - Celeste: 1.4.0.0-fna
 - CrystallineHelper: 1.17.2 [vitmod.VitModule]

Crash Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Celeste.LightingRenderer.BeforeRender(Scene scene)
   at Monocle.RendererList.BeforeRender()
   at Celeste.Level.BeforeRender()
   at Monocle.Engine.RenderCore()
   at Celeste.Celeste.RenderCore()
   at Monocle.Engine.Draw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick() in /__w/Everest-libs/Everest-libs/source/FNA/src/Game.cs:line 559
   at Microsoft.Xna.Framework.Game.RunLoop() in /__w/Everest-libs/Everest-libs/source/FNA/src/Game.cs:line 875
   at InvokeStub_Game.RunLoop(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions