Open mageowl opened 3 months ago
If the editor crashes by running pure GDScript that's likely a Godot bug. This plugin triggers inspection, but doesn't control what happens in the inspector. Also, it might depend on what property you clicked on... it might sometimes genuinely crash because the editor was never meant to be inspected that way and do stuff to itself that leads to such a crash.
Maybe you should report this to the Godot repo? Have you tried this in different versions of Godot? Also what do you mean by "select a property"? I clicked on a Timer node I found in the hierarchy in Godot 4.2 and selected a property by clicking on its name, and it didn't crash. I tried the same thing in Godot 4.3 beta 6 with a Panel and it didn't crash either. Please describe more what you did...
Sorry, i meant a node that is a part of Godot's inspector contents. It gets deleted as the inspector changes, and crashes the engine.
For example, first inspect any Node or Resource. Then, inspect the EditorScriptPicker
used to change a node's script from inside the inspector. The editor will crash.
Well then I suggest you report this to Godot's repository, because that's not something this plugin can fix. Inspecting an object that gets destroyed by the action of inspecting is also ill-formed so if it gets fixed you will probably get an empty inspector anyways (or is it more simply the fact that the inspected object gets destroyed by any external factor and Godot isn't handling that?).
If you select a property that is in the inspector, while "Open in Inspector" is checked, the editor crashes.