studio-minus / madness-interactive-reloaded

Moddable videogame based on Madness Combat
https://studiominus.nl/madness-interactive-reloaded.html
GNU General Public License v3.0
72 stars 14 forks source link

a bug that happens when trying to enter the boss of employee of the month #99

Open amadnesscombatguy opened 1 month ago

amadnesscombatguy commented 1 month ago

heres the text of the error Madness Interactive Reloaded has crashed with crash ID Eemou Game build: MIR, Version=0.48.3.0, Culture=neutral, PublicKeyToken=null Engine build: Walgelijk, Version=0.29.0.0, Culture=neutral, PublicKeyToken=null Component dump path System dump path Log path Unhandled exception occurred System.NullReferenceException: Object reference not set to an instance of an object. Stack trace at Walgelijk.OpenTK.RenderTextureCache.DisposeOf(RenderTextureHandles loaded) in C:\Projects\Walgelijk\Walgelijk.OpenTK\Graphics\RenderTextureCache.cs:line 71 at Walgelijk.Cache`2.Unload(UnloadedType obj) in C:\Projects\Walgelijk\Walgelijk\Shared\Cache.cs:line 167 at Walgelijk.OpenTK.OpenTKGraphics.Delete(Object obj) in C:\Projects\Walgelijk\Walgelijk.OpenTK\Graphics\OpenTKGraphics.cs:line 247 at Walgelijk.RenderTexture.Dispose() in C:\Projects\Walgelijk\Walgelijk\Graphics\RenderTexture.cs:line 119 at MIR.StampCanvasComponent.Dispose() in C:\Projects\madness-interactive-reloaded\src\MadnessInteractiveReloaded\Graphics\Components\StampCanvasComponent.cs:line 94 at Walgelijk.FilterComponentCollection.InternalRemoveComponent(Component component) in C:\Projects\Walgelijk\Walgelijk\ECS\Components\FilterComponentCollection.cs:line 267 at Walgelijk.FilterComponentCollection.SyncBuffers() in C:\Projects\Walgelijk\Walgelijk\ECS\Components\FilterComponentCollection.cs:line 250 at Walgelijk.Scene.Dispose() in C:\Projects\Walgelijk\Walgelijk\ECS\Scene.cs:line 414 at Walgelijk.Game.set_Scene(Scene value) in C:\Projects\Walgelijk\Walgelijk\System\Game.cs:line 56 at MIR.MadnessUtils.<>cDisplayClass24_1.b1() in C:\Projects\madness-interactive-reloaded\src\MadnessInteractiveReloaded\Shared\MadnessUtils.cs:line 310 at MIR.MadnessUtils.<>cDisplayClass25_0.<gdelay|0>d.MoveNext() in C:\Projects\madness-interactive-reloaded\src\MadnessInteractiveReloaded\Shared\MadnessUtils.cs:line 338 at Walgelijk.RoutineScheduler.g__advance|5_0(<>c__DisplayClass5_0&) in C:\Projects\Walgelijk\Walgelijk\System\RoutineScheduler.cs:line 82 at Walgelijk.RoutineScheduler.StepRoutines(Single dt) in C:\Projects\Walgelijk\Walgelijk\System\RoutineScheduler.cs:line 78 at Walgelijk.Game.Start() in C:\Projects\Walgelijk\Walgelijk\System\Game.cs:line 263 at MIR.MadnessInteractiveReloaded..ctor() in C:\Projects\madness-interactive-reloaded\src\MadnessInteractiveReloaded\MadnessInteractiveReloaded.cs:line 211 at MIR.Program.Main(String mode, String input, String output) in C:\Projects\madness-interactive-reloaded\src\MadnessInteractiveReloaded\Program.cs:line 56

ionutz799 commented 1 month ago

the game crashed because of a NullReferenceException when trying to access/dispose of a texture that wasnt properly initialized this probably happened during the rendering cleanup process.