godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.49k stars 21.07k forks source link

Unexpected errors when creating SpriteFrames:Condition “plugins_list.has(p_plugin)" is true. #97577

Open Jiayibingping opened 3 weeks ago

Jiayibingping commented 3 weeks ago

Tested versions

System information

Windows10 - Godot 4.4.dev2 - Vulkan(Forward+)

Issue description

4 4 2 4 2 2

https://github.com/user-attachments/assets/e57d4a80-f46e-4839-951b-1f6612c5ac5f

After creating an AnimatedSprite2D, I added a new SpriteFrames. Clicking on it again triggers the warning: 'editor/editor_node.cpp:8116 - Condition "plugins_list.has(p_plugin)" is true'. This bug also exists in Godot 4.3.1 stable and every godot 4 version

Steps to reproduce

https://github.com/user-attachments/assets/a4abda81-5a10-499f-89b1-f56d49e47ec2

https://github.com/user-attachments/assets/a4abda81-5a10-499f-89b1-f56d49e47ec2 0.Open Godot 4.4 dev2. 1.Create a new scene with any type of root node (in this example, it's Node2D). 2.Add a child node of type AnimatedSprite2D. 3.Click on the AnimatedSprite2D node, and in the inspector under the AnimatedSprite2D section, click on Animation/Sprite Frames and create a new SpriteFrames. 4.(Important) Click on the root node, then click back on the AnimatedSprite2D node, and click on Animation/Sprite Frames in the inspector under the AnimatedSprite2D section., 5.Check the Output. 6.Click on the root node again, then click back on the AnimatedSprite2D node. Repeat this step, and you will see that every time you click on the AnimatedSprite2D node, the error "editor/editor_node.cpp:8116 - Condition 'plugins_list.has(p_plugin)' is true" will be triggered in the Output.

Minimal reproduction project (MRP)

mrp-for-the-editor-editor_node.cpp-8116---condition--plugins_list.has(p_plugin)--is-true'.zip

Jiayibingping commented 2 weeks ago
4 4 3

still exists in 4.4 dev3