Deleting or moving specific states or links causes the game to crash

Hello,

Regarding the subject issue, the game crashes when performing the following actions on specific states or links in the VS editor:

  • Deleting a state
  • Deleting a link
  • Selecting multiple states and moving them

I have attached a test project that reproduces the issue. Please review it.
I am unable to identify the cause. If you have any information on how to fix it or if there is something I should do, please let me know.
testproject_2026-06-09.zip (1.8 MB)

■ Application Log of Event Viewer

■ Reproduction Steps

  1. Open the following object from the attached project:
    res://object/test/test.tscn
  2. Open the VS editor.
  3. There are 3 states and 2 links. Delete any of them → The issue occurs.

I was able to confirm the issue.
Two errors caught my attention:

ERROR: Unrecognized UID: “uid://cjf04grb4ne0t”.

ERROR: Condition “!nodes.has(p_id)” is true. Returning: Ref()
at: actg::VisualScript::get_node (modules\actg_visual_script\actg_visual_script.cpp:842)

Taken together, this suggests that a UID could not be found and that an attempt was made to access a node that no longer exists (e.g., it was deleted). This implies a state where it appears as though the VisualScript is accessible, but in reality, it is not.
I reasoned that clearing the cache should fix it, but it didn’t. So, this is likely some kind of bug…

I plan to report this to the developers. Could you let me know if you were performing any actions that might have caused cache inconsistency, such as duplicating a VisualScript when the issue occurred, or copying/pasting states from another VisualScript?

1 Like

Thank you for your confirmation.

I was thinking of reporting this to the development team. Could you please let me know if you performed any actions that might have caused cache inconsistencies, such as duplicating a Visual Script when the issue occurred, or copying/pasting states from another Visual Script?

I don’t remember too clearly, but since I was copying and pasting as needed from reusable components, it’s possible I did perform the “copy/paste from another Visual Script” action.

After posting, I did a bit of investigation and it seems the state links were causing the problem.
Steps taken:

  1. Added a new state node.
  2. Moved existing state links directly to the new state node.
  3. Deleted existing state nodes that had broken state links.
  4. Deletion was successful.

Sorry for the trouble, and thank you for your assistance.

1 Like

Thanks for your patience!

It appears that some data remained after group deletion, causing crashes when trying to access the deleted group.

This has been fixed in today’s 1.3.0 update!

1 Like

Thank you.

I have confirmed that the state link of the test project I previously attached can be deleted.
However, I encountered a similar issue in another VS for my main development project, which is still crashing.
Since there are many nodes, it takes time to figure out which one is crashing. I will attach a sample project once I have sorted it out.
In the meantime, could you please double-check internally?

Regarding this issue, I changed the order in which I deleted the nodes, and the crash no longer occurs.

I’m not sure what caused the fix, but I was able to remove some unnecessary nodes as well, so it seems to be okay for now.

Thank you for your support.

1 Like

Sorry to hijack your post to report a bug, but it seems I encountered the same issue around the 1.3.0 update (before the update, two connections caused a crash; after the update, an additional one was added).

In my case, the crash occurs after copying and pasting a connection if an action that would delete that connection is performed (deleting the connected state also causes a crash. However, if I drag the connection to another state, deleting the previous state has no effect, so I suspect the issue lies with the connection itself).

This time, upon the first launch after the 1.3.0 update, I performed only the following steps: copied an existing connection → pasted it between two existing states → tested the game → exited the test back to the visual script → deleted the connection just created → crash.

For now, I’ve isolated these connections by dragging them to two empty states, creating a “bug quarantine zone,” so the impact is not severe. However, just in case, I wanted to report that this bug doesn’t appear to be fully resolved yet.

Thank you.

1 Like

I tried this sequence and my editor didn’t crash. Can you take a video and post it to make sure I’m following the steps right?

Hello, I’ve made a simple video recording for your confirmation.

Additionally, during this reproduction attempt, we found:

  1. It seems that most regular connections can be deleted normally.

  2. However, if a connection copied from within a group box is pasted and then deleted, the application crashes.

(The following points were tested while editing this message after recording the video; apologies for not recording each step individually.)

  1. Dragging a connection out of the group box individually, then copying, pasting, and deleting it also causes a crash.

  2. Deleting an original connection directly from within the group box without copying does not cause a crash.

  3. Regardless of whether they are inside or outside a group box, newly created connections can be copied, pasted, and deleted normally without crashing (Could the issue be limited to connections created in older versions?).

I originally expected a reply on Monday, so I didn’t anticipate taking up your time over the weekend. Thank you very much for your hard work. Once again, thank you for your continued technical support.

bandicam 2026-06-21 00-34-06-027.rar (1.9 MB)