Sludge Goobie
Terrarian
Terraria Overhaul crashes when any damage is given to an enemy. Here are the logs:
7/14/2018 9:00:05 PM
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'RenderTarget2D'.
at Microsoft.Xna.Framework.Helpers.CheckDisposed(Object obj, IntPtr pComPtr)
at Microsoft.Xna.Framework.Graphics.EffectParameter.SetValue(Texture value)
at TerrariaOverhaul.DecalSystem.DrawChunks(SpriteBatch sb) in C:\Users\Merser\Documents\My Games\Terraria/ModLoader\Mod Sources\TerrariaOverhaul\System\DecalSystem.cs:line 192
at TerrariaOverhaul.OverhaulWorld.PostDrawTiles() in C:\Users\Merser\Documents\My Games\Terraria/ModLoader\Mod Sources\TerrariaOverhaul\OverhaulWorld.cs:line 788
at Terraria.ModLoader.WorldHooks.PostDrawTiles()
at Terraria.Main.do_Draw(GameTime gameTime)
at Terraria.Main.DoDraw(GameTime gameTime)
at Terraria.Main.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
Send help.
7/14/2018 9:00:05 PM
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'RenderTarget2D'.
at Microsoft.Xna.Framework.Helpers.CheckDisposed(Object obj, IntPtr pComPtr)
at Microsoft.Xna.Framework.Graphics.EffectParameter.SetValue(Texture value)
at TerrariaOverhaul.DecalSystem.DrawChunks(SpriteBatch sb) in C:\Users\Merser\Documents\My Games\Terraria/ModLoader\Mod Sources\TerrariaOverhaul\System\DecalSystem.cs:line 192
at TerrariaOverhaul.OverhaulWorld.PostDrawTiles() in C:\Users\Merser\Documents\My Games\Terraria/ModLoader\Mod Sources\TerrariaOverhaul\OverhaulWorld.cs:line 788
at Terraria.ModLoader.WorldHooks.PostDrawTiles()
at Terraria.Main.do_Draw(GameTime gameTime)
at Terraria.Main.DoDraw(GameTime gameTime)
at Terraria.Main.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
Send help.