Godot 3.3.3 Windows 10 64bit

I made this simple attached plugin and I do not understand why it crashes. To try the crash do these steps:

1 open simple.tscn 2 select the node CSGCombiner 3 Make Sub-Resources Unique

the plugin script is res://addons/simple/simple.gd

Can someone help me understand what did I do wrong ?

Thank you in advance for your help and time reading this.

Totrebor

Since no one else has responded:

I was able to duplicate the crash (Godot 3.3.3-stable on Linux 64-bit). After step 3, the Godot Editor silently exits.

But I have no experience writing Godot plugins.

I've had similar problems like that in other contexts, though. and have used some approaches for isolating the problem.

  1. Add print statements or the equivalent. If necessary, you could build a custom version of the Godot engine to add print statements "under the hood".

  2. Remove code until the crash stops occurring, to figure out which code causes the crash.

  3. Start with a small subset of the code that works, and gradually add in more code until the crash occurs.

9 days later

Thank you, but I have already tried to do this debug procedure. I discovered that if I delete the "func edit ( object )" the problem is solved, however this does not give me an explanation. I will install the stack to compile and debug Godot to understand what happens.

a year later