[BUG-AGM-G2.0.4] Shortcut keys fail when copying visual scripts (causes freezing) — Fixed

Version: AGM-G 2.0.4

Issue Description:

(1) When I copied and pasted VS actions from an old version’s sub-object into the VS sub-layer of a target object, it caused a crash bug. I have not been able to identify the root cause or successfully reproduce this issue.
(2) While working on a new project, when I copied and pasted an old action again, I noticed that the [Shortcut] action within the old action was ineffective. I confirmed that the issue is likely related to this.

Minimal Reproduction Steps:
text-bug-1.rar (173.7 KB)

(1) Download and open the minimal reproduction file.
(2) Press F5 to run the game. The display effect for object 【b】 will be shown in the game (looping subtitles).
(3) Manually copy all VS actions from object 【b】 to 【a】. (Delete any original actions from 【a】.)
(4) Save the file and then press F5 to run it again. (At this point, the effect for object b continues, but object a only displays one subtitle and does not loop.)

(5) :yellow_heart: Create a shortcut for the first VS execution action of object 【a】, and replace the pasted shortcut with it. (During my testing, the application crashed once. After restarting AGM, attempting to create a shortcut again resulted in another crash.) — This is a BUG. :yellow_heart: (Re-description: When there are residual shortcuts from other copied/pasted VS objects, creating a shortcut for your own VS actions causes an immediate crash.)

(6) First, delete the recently pasted shortcut. Then, create a new shortcut and connect it to the original conditions. Press F5 to run. The final effect will be completed correctly. (Both subtitle effects can now loop simultaneously.)

I’m trying to replicate this issue:

  • Step 4 worked when I tried it:

  • Step 5 didn’t crash

Any other things I need to do to make the crash happen?

Hmm, that’s weird. Why doesn’t it work on my computer? Let me try running it again.

Mr. Baz, I have tested it:

(1) If you delete all actions in A before copying the action from B, and then copy them over, everything works fine.

(2) If the initial actions in A are still present when copying the action from B, and then you delete A’s actions, the issue described in [Step 5] occurs.

abaafe3ea7d378de22198ff59731a225

Ok I was able to replicate it all, thanks for your patience and thorough explanation!

I’ll get this reported.

:smiling_face_with_three_hearts: Thank you so much! Thank you so much!

We just released version 2.0.5, which resolves this issue.

1 Like