"You did changes to script, while game was running. Do you want to keep them" doesn't work in script editor

BUG DESCRIPTION:
I often fix bugs in my scripts during run-time. Today I encountered that this changes won’t save after you click on prompt “yes”
image

REPRODUCTION STEPS:

  1. Make any script
  2. Add print/warn error statement, or smth what will cause any error
  3. Click on error in output so it will open script
  4. Edit script now
  5. Stop run mode, and click “yes” on this prompt:
    image
  6. Your script won’t save any changes

EXPECTED BEHAVIOR:
I expect changes to be saved.
ACTUAL BEHAVIOR:
Changes aren’t saved.

ISSUE AREA: Studio
ISSUE TYPE: Scripting
IMPACT: Very big
FREQUENCY: Constant

Must also include that after typing this report, I found that sometimes, after Run test, changes which I do to scripts are UNDOING, which results in me losing a lot of work.

2 Likes

Hi @GamEditoPro! We are investigating and working to identify the probable root cause.

2 Likes

Hi @GamEditoPro, we’ve identified the root cause, this is caused by the ScriptEditor won’t reflect to source property change. The fix will be included in the next Studio release. Thanks for reporting!

2 Likes

Hi @GamEditoPro, the fix has been released with the latest version of Studio. Please update and restart Studio to apply the fix. Let us know if the issue persists. Happy coding!

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.