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

Keep getting Condition "plugins_list.has(p_plugin)" is true. when selecting Tilemap Node and TileSet resource is open in the inspector #74543

Closed
eh-jogos opened this issue Mar 7, 2023 · 2 comments · Fixed by #74717

Comments

@eh-jogos
Copy link

eh-jogos commented Mar 7, 2023

Godot version

4.0 stable

System information

Manjaro Linux using i3, Foward+

Issue description

Whenever the tileset property of any tilemap node is like open in the editor like this:
image

If I select any other node and then select the TileMap node again it will print this error:
image
editor/editor_node.cpp:8152 - Condition "plugins_list.has(p_plugin)" is true.

This seems to be actually true to any plugin or EditorInspectorPlugin that edits node. In my project I have a InspectorPlugin that adds some buttons in _parse_begin for a specific kind of node, and that node also has an exported custom resource, and whenever I select any of that Node and their resource is open for edit in the Inspector I get the same error.

Steps to reproduce

  • Create a TileMap node on any scene
  • Create a new TileSet resource on the TileMap node
  • click on the TileSet resource to edit it in place in the TileMap node
  • Select any other node
  • Select the TileMap node again.

Minimal reproduction project

plugin_error_resource_edit.zip

  • Open main scene
  • Select the TileMap node
  • Click the tileset resource in the inspector
  • Select the root node
  • Select TileMap node again
@RichardR01
Copy link

RichardR01 commented Mar 25, 2023

Same error with top level Control node.
It started happening after I created an AnimationPlayer, and animated some child control's scale property. (This could be a coincidence). Still continue to get the error even after I removed the AnimationPlayer and reloaded the project. There is a long delay before the Control node is selected or loaded in.

Edit: It is caused by having a theme resource loaded into the top Control node. Removing the theme stops the error from happening. Putting it back in causes the issue again. I noticed that every time I selected the Control node, it would also open the Theme in the bottom panel. Also note, I have theme overrides on my child controls, such as Font, Font Size, and Styles with StyleBoxFlat.

Edit2: In the Theme property on the right, if the theme is activated (name shown in blue) and shows all the properties, the error occurs. If I deactivate it by clicking on it, to close out the properties, then selecting the Control node on the left no longer generates the error.

@anisc
Copy link

anisc commented May 12, 2023

I'm using 4.0.2, I'm getting the same issue by just adding a tile set.
editor/editor_node.cpp:8243 - Condition "plugins_list.has(p_plugin)" is true.
editor/editor_node.cpp:8243 - Condition "plugins_list.has(p_plugin)" is true.
The whole project is one scene

Node2D
TileMap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants