dwarfcorp
dwarfcorp copied to clipboard
Bloom target gets disposed on graphics device reset.
https://sentry.io/cfg/dwarfcorp/issues/571056866/
ObjectDisposedException: Cannot access a disposed object.
Object name: 'RenderTarget2D'.
File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Graphics\Effects\BloomComponent.cs", line 201, in Draw
Void Draw(Microsoft.Xna.Framework.GameTime)
File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\World\WorldManager.cs", line 1016, in Render
Void Render(DwarfCorp.DwarfTime)
File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\GameStates\PlayState.cs", line 501, in Render
Void Render(DwarfCorp.DwarfTime)
File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\GameStates\GameStateManager.cs", line 146, in Render
Void Render(DwarfCorp.DwarfTime)
File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\DwarfGame.cs", line 608, in Draw
Void Draw(Microsoft.Xna.Framework.GameTime)
...
(3 additional frame(s) were not displayed)
Cannot access a disposed object.
Object name: 'RenderTarget2D'.
Got this crash.
201810161650200995_Crashlog.txt
Occurred while performing steps in #938. At step three I minimized game window for something and game crashed.
29d321c4
sweet, I will try to fix this issue.