Jump to content

Crash while trying to load or save xml-settings for plugin (Shape3D)

Recommended Posts

After a long time usage of the "effects > render > Shape3D" function in paint.NET, it now stopped working after one of the recent software updates.

Up to then, I was using the function like this:

- open an image

- resize it

- press menu "effects > render >Shape3D"

- in the lower status bar of the Shape3D configuration window press "XML"

- then "Load" from a separately stored xml-file with my personal Shape3D-settings

- go on with further editing or store the rendered image file


Now, using current version 4.0.17 (4.17.6411.1908), the software crashes as soon as I try to select "Load" or "Save" from the "XML" menu in the Shape3D plugin.

A crash log file is attached to this posting.


I am posting this in the troubleshooting section, as it appears to be an issue with paint.NET, not within the plugin. As long as I enter my Shape3D settings manually, everything seems to work fine... but it is really hard to reenter these settings all over again each time, I want to use them.


Can you help me and advise, how to come around the XML-load-save-issue?





Application version: paint.net v4.0.17 (Final 4.17.6411.1908)
Time of crash: 28.07.2017 12:29:16
Application uptime: 00:00:14.9210000
Application state: Running 
Working set: 138.464 KiB
Handles and threads: 839 handles, 39 threads, 261 gdi, 382 user
Install type: Classic
Application directory: C:\Program Files\Grafik\Paint.NET
Current directory: C:\Program Files\Grafik\Paint.NET
Install directory: C:\Program Files\Grafik\Paint.NET
AppSettings storage handler: RegistryStorageHandler
OS Version: 6.1.7601.65536 Service Pack 1 Workstation x64
.NET version: CLR 4.0.30319.42000 x64, FX 4.6
Processor: "Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz" @ ~2496MHz (2C/4T, DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, XSAVE)
Physical memory: 7603 MB
Video card: Intel(R) HD Graphics 520 (v:8086, d:1916, r:7)
Hardware acceleration: True (default: True)
UI animations: True
UI DPI: 96,00 dpi (1,00x scale)
UI theme: Aero/Aero + DWM (Aero.msstyles)
Updates: True, 28.07.2017
Locale: pdnr.c: de-DE, hklm: de-DE, hkcu: de-DE, cc: de-DE, cuic: de-DE

Exception details:
System.TypeLoadException: Could not load type 'PaintDotNet.PdnInfo' from assembly 'PaintDotNet.Resources, Version=4.17.6411.1908, Culture=neutral, PublicKeyToken=null'.
   at Shape3D.EffectPluginConfigDialog.load_button_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Edited by BoltBait
Added part of crash file to message itself.
Link to comment
Share on other sites

I've run into this same problem. Unfortunately, the developer lost the source code and does not currently have time to rework it (he also doesn't speak English and doesn't trust online translators entirely).


This is one of my favorite plugins, so I'm thinking of teaching myself to code so it can stay updated!




Link to comment
Share on other sites

I have been working on the Shape3D plugin. Unfortunately the Photobucket  debacle got in the way. A solution will be forthcoming. Hold on.


Until I find a solution, Shape3D works fine so long as you don't try to load an XML file. Copy down the critical settings so you can manually input them.

  • Like 1
Link to comment
Share on other sites

The project is large and complex so I have my work cut out figuring where everything should go.


The good news is that I am working on it :)

  • Like 2
  • Upvote 1
Link to comment
Share on other sites

I've updated the Shape3D DLL to fix the load/save XML problems.


Couldn't have done it without  @Rick Brewster and @toe_head2001 who helped enormously. Honestly, much of the code is still beyond me :D

Link to comment
Share on other sites

16 hours ago, Eli said:

I just noticed that some dust/pixels is generated (I had a gradient on the layer). Is this normal?

Those specks appeared in MTK's original release, so it's not a new issue.

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

  • 1 month later...

Pleased to be of service ;)


  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...