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

[FAILURE] Crash When Dragging Used Input Connection from Composite Node – "Index Out of Bounds" [v1.18.8, Steam] #85

Open
Fleating opened this issue Feb 22, 2025 · 0 comments

Comments

@Fleating
Copy link

Fleating commented Feb 22, 2025

Pixel Composer Version:
1.18.8

Platform:
Steam (Windows 11)

Description:
When dragging a connection from a used input on the Composite Node, the program crashes with an "index out of bounds" error. The connection remains attached to the cursor and cannot be placed or removed. Clicking on any node triggers the same crash.

Steps to Reproduce:

  1. Place a Composite Node on the canvas.
  2. Connect another node's output to one of the Composite Node’s inputs.
  3. Attempt to drag the existing connection from the used input.
  4. Observe the crash and the connection following the cursor.

Expected Behaviour:
Dragging a used input connection should allow for clean detachment or reconnection without crashing.

Demonstration:
Image

Crash Log:

==========  Crash log [PXC 1.18.8] [Windows] ==========

ERROR in action number 1
of Draw Event for object o_main:
index out of bounds request 51 maximum size is 51

========== Stack trace ==========

gml_Script_updateIO@anon@19599@Node@node_data (line 709)
gml_Script_refreshNodeDisplay@anon@40722@Node@node_data (line 1465)
gml_Script_removeFrom@anon@54953@NodeValue@node_value (line 1783)
gml_Script_connectDraggingValueTo@Panel_Graph@panel_graph (line 1954)
gml_Script_draggingValue@Panel_Graph@panel_graph (line 2096)
gml_Script_drawJunctionConnect@Panel_Graph@panel_graph (line 2114)
gml_Script_drawContent@Panel_Graph@panel_graph (line 2736)
gml_Script_draw@anon@25536@PanelContent@panel_data (line 968)
gml_Script_drawContent@Panel@panel_data (line 694)
gml_Script_draw@anon@10784@Panel@panel_data (line 439)
gml_Script_draw@anon@10784@Panel@panel_data (line 459)
gml_Script_draw@anon@10784@Panel@panel_data (line 459)
gml_Script_draw@anon@10784@Panel@panel_data (line 459)
gml_Script_draw@anon@10784@Panel@panel_data (line 459)
gml_Object_o_main_Draw_64 (line 43)


========= Crash log end =========
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

1 participant