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

Removing a node from the scene tree, that contains Polygon2Ds with Bone2Ds bound to them, causes fake error spamming and freezes the editor. #52126

Closed
rambda opened this issue Aug 26, 2021 · 1 comment · Fixed by #54527

Comments

@rambda
Copy link

rambda commented Aug 26, 2021

Godot version

3.4.beta4

System information

Windows 10, GLES3

Issue description

Removing any node from any scene that contains a Polygon2D which is bound to Bone2Ds in UV editor, including Polygon2D in an instanced scene, will causes this certain error spamming.
This error spamming will block the main thread, causes the editor freezing, and unfreezing after the spam. If there are many Polygon2D and Bone2D, the editor will constantly freeze, which is unusable.
Moving any node using mouse will also causes the same error spamming. Using Ctrl + Arrow doesn't cause the error.

ERROR: Found invalid node path 'Hip' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
   at: (editor/scene_tree_dock.cpp:1430)
Click for the full error log.
ERROR: Found invalid node path 'Hip' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/RightArm' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/RightArm/RightForearm' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/RightArm/RightForearm/RightHand' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head/Chin' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/LeftArm' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/LeftArm/LeftForearm' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/LeftArm/LeftForearm/LeftHand' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg/LeftFoot' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightLeg' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightLeg/RightLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightLeg/RightLowerLeg/RightFoot' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head/Chin' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm/LeftForearm' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm/LeftForearm/LeftHand' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm/RightForearm' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm/RightForearm/RightHand' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg/LeftFoot' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightLeg' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightLeg/RightLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightLeg/RightLowerLeg/RightFoot' on node 'SkeletalPlayer/Sprite/Polygons/RightLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head/Chin' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm/LeftForearm' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm/LeftForearm/LeftHand' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm/RightForearm' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm/RightForearm/RightHand' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg/LeftFoot' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg/RightLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg/RightLowerLeg/RightFoot' on node 'SkeletalPlayer/Sprite/Polygons/Body'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head/Chin' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm/LeftForearm' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm/LeftForearm/LeftHand' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm/RightForearm' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm/RightForearm/RightHand' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg/LeftFoot' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg/RightLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg/RightLowerLeg/RightFoot' on node 'SkeletalPlayer/Sprite/Polygons/LeftLeg'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head/Chin' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm/LeftForearm' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm/LeftForearm/LeftHand' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm/RightForearm' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm/RightForearm/RightHand' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg/LeftFoot' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg/RightLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg/RightLowerLeg/RightFoot' on node 'SkeletalPlayer/Sprite/Polygons/Head'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head/Chin' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm/LeftForearm' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftArm/LeftForearm/LeftHand' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm/RightForearm' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightArm/RightForearm/RightHand' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg/LeftFoot' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg/RightLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'RightLeg/RightLowerLeg/RightFoot' on node 'SkeletalPlayer/Sprite/Polygons/Chin'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/RightArm' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/RightArm/RightForearm' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/RightArm/RightForearm/RightHand' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/Head/Chin' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/LeftArm' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/LeftArm/LeftForearm' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/Chest/LeftArm/LeftForearm/LeftHand' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/LeftLeg/LeftLowerLeg/LeftFoot' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightLeg' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightLeg/RightLowerLeg' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)
ERROR: Found invalid node path 'Hip/RightLeg/RightLowerLeg/RightFoot' on node 'SkeletalPlayer/Sprite/Polygons/LeftArm'
 at: (editor/scene_tree_dock.cpp:1430)

Steps to reproduce

  1. download Skeleton2D Demo: https://godotengine.org/asset-library/asset/1027
  2. open level.tscn or player.tscn in godot 3.4.beta4.
  3. create a node of any type (in editor).
  4. remove this node (in editor).
  5. errors spam in console output.

Edit:
Bug still exists in beta5.
Skeleton2D is fine. The problem is caused by Polygon2D's bones property.

The reason for the error appears to be that some code is querying NodePath relative to Polygon2D, but in reality, it should be relative to Skeleton2D.
For example:

[node name="RightArm" type="Polygon2D" parent="Sprite/Polygons"]
position = Vector2( -150, -240 )
texture = ExtResource( 2 )
skeleton = NodePath("../../Skeleton2D")
# polygon = Too long, omitted
# polygons = Too long, omitted
bones = [ NodePath("Hip"), PoolRealArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ) ]
internal_vertex_count = 19

Will causes the error
Found invalid node path 'Hip' on node 'SkeletalPlayer/Sprite/Polygons/RightArm'
Of course it's an invalid path, because the bone is on the skeleton, not on the polygon of the right arm. The correct node path is SkeletalPlayer/Sprite/Skeleton2D/Hip.

Although the editor spams this error, the skeleton actually works. It's just a fake error... which freezes the editor.

@rambda rambda changed the title Removing a node from the scene tree containing a Skeleton2D in editor causes error spamming. Removing a node from the scene tree containing a Polygon2D linked to Bone2Ds causes error spamming and freezes the editor. Sep 24, 2021
@rambda rambda changed the title Removing a node from the scene tree containing a Polygon2D linked to Bone2Ds causes error spamming and freezes the editor. Removing a node from the scene tree, that contains Polygon2Ds with Bone2Ds bound to them, causes error spamming and freezes the editor. Sep 24, 2021
@rambda rambda changed the title Removing a node from the scene tree, that contains Polygon2Ds with Bone2Ds bound to them, causes error spamming and freezes the editor. Removing a node from the scene tree, that contains Polygon2Ds with Bone2Ds bound to them, causes fake error spamming and freezes the editor. Sep 24, 2021
@rambda
Copy link
Author

rambda commented Oct 11, 2021

This bug does not exist in 3.4 beta1, it exists in 3.4 beta2~5, I think it is caused by daa0977
I don't know about C++ so... @pouleyKetchoupp

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

Successfully merging a pull request may close this issue.

4 participants