Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening the inspector properties in the inspector crashes #11

Open
mageowl opened this issue Jul 30, 2024 · 3 comments
Open

Opening the inspector properties in the inspector crashes #11

mageowl opened this issue Jul 30, 2024 · 3 comments

Comments

@mageowl
Copy link

mageowl commented Jul 30, 2024

If you select a property that is in the inspector, while "Open in Inspector" is checked, the editor crashes.

@Zylann
Copy link
Owner

Zylann commented Jul 30, 2024

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...

@mageowl
Copy link
Author

mageowl commented Jul 31, 2024

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.

@MGilleronFJ
Copy link

MGilleronFJ commented Jul 31, 2024

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?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants