Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

whenever i create a new custom modifier in the most recent build, editor crashes. when i open editor again, modifier i just made works fine.

error.log

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)

I'm aware od this one actually. I've been trying to fix it for days. It has something to do with images update. I'll keep trying.

(2 edits)

I have a similar one but not with modifiers but with ttf font files on System Resource Importer(Log files attached). The font file name is dpcomic.ttf. No special characters though.

Error Log

Yes, it's most definitely connected. I thought I fixed that with fonts though. I'll check it again.

(1 edit)

i thought it might have something to do with updating the icon for the modifier. in the previous build, i got the error but not the crash, and icon turned into a red X but i was still able to run the editor and place stuff on the map. basically the same thing seems to be happening now and under the same circumstances, except editor closes instead of continuing to run with errored icon.