You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deleting the last child of a GraphNode crashes the editor, unless that GraphNode has been resized at least once by the user. The issue is easy to avoid, but the crash is still odd.
There is another crash in which deleting all the children of GraphNode at once will crash
Steps to reproduce
First crash:
Create a new scene with a GraphNode, and do not resize it;
Add any Control that draws content, like a Button;
Delete the new child you just created;
Observe the crash
Second crash:
Create a new scene with a GraphNode;
Add multiple Controls as children;
Select all of them and delete them from the scene;
This project has two scenes: graph_node.tscn showcases the first crash with a default size GraphNode and a single content-drawing Control. The graph_node_multiple_children.tscn scene has a GraphNode with multiple children that crash the editor when deleted.
The text was updated successfully, but these errors were encountered:
Godot version
4.0b6
System information
Linux/Manjaro
Issue description
Deleting the last child of a GraphNode crashes the editor, unless that GraphNode has been resized at least once by the user. The issue is easy to avoid, but the crash is still odd.
There is another crash in which deleting all the children of GraphNode at once will crash
Steps to reproduce
First crash:
Second crash:
Minimal reproduction project
graphnode-crash-repro.zip
This project has two scenes:
graph_node.tscn
showcases the first crash with a default size GraphNode and a single content-drawing Control. Thegraph_node_multiple_children.tscn
scene has a GraphNode with multiple children that crash the editor when deleted.The text was updated successfully, but these errors were encountered: