Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hey, I am learning the engine and finally figured out the custom modifiers and how to build levels with the floors configuration in mind. I would love a "copy" option for the custom modifiers, but it isn't too big of a deal, just a bit of a slow down. 

Anyways, every now and again I get the following error and the editor shuts down:

Source: System.Drawing
Reason: Parameter is not valid.
Stack trace:    at System.Drawing.Image.get_Flags()
   at System.Windows.Forms.ControlPaint.IsImageTransparent(Image backgroundImage)
   at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle, Color backColor, Point scrollOffset)
   at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle)
   at System.Windows.Forms.Control.OnPaintBackground(PaintEventArgs pevent)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

The engine crashes but it does save the change. I thought, at first, I was using too many objects, but this happens even with two or three objects in the modifier. 

I appreciate all the hard work!

Yes. This is happening because editor tries to update image but the old one is still in use. I'm trying to fix this.

I started figuring that out after posting. Isn't really related to the issue I posted, but the custom modifiers still crashes pretty consistently on apply after some use. No errors are written that I could see that are specific to that issue.

But I do appreciate the speedy reply.