Script Version History Publishing Flaws

My team has experienced a few issues with Script Version History ever since it has been enabled on Wednesday for us, and it makes developing a whole lot more annoying and take a lot more time than it should. We don’t have Collaborative Editing turned on and are using Team Create.

The first issue is that whenever you try to make a quick change and then test in a live server, the script history actually takes longer to publish a 2 line script than for the entire game to publish. This causes problems where we have to sit in studio and baby the scripts that are saving, constantly pressing the publish button until all our scripts have committed and our changes can finally be published. After working for days with doing this, it gets pretty frustrating and this feature is causing more problems than it solves.

To reproduce this issue, you can open a new script and add a new print statement or whatever. Then, exit the script and publish the game right after. The script will commit after the game has published and the script’s changes will not show in live servers.

The second issue is if other people are editing scripts when you play test/publish, sometimes their scripts will commit while they are typing. There have been multiple instances where someone joins and there will be a syntax error, and when another person opens the script it will be on a line that hasn’t been finished yet and the person is still editing. For example, if I am typing an if then statement and it decides to save the script, you may see if ... th in the script, causing a syntax error, when the intention was to write if ... then ... end This is also extremely annoying because the published script used to be whatever the person intentionally wanted to publish when they exited the script, not whatever just happened to save at the time. The issue causes entire systems to randomly break when going to test in live servers or even in Studio, and adds onto the frustration of having to baby the scripts you just edited to publish in the first place.

An example of issue #2 happening is when I started studio play test, this error showed up because someone was editing a script while I was trying to test and work on my own scripts, and Studio unexpectedly randomly saved the script while they were typing.

This issue actually happened 10 minutes after I posted this report. I went to play test and it committed my team member’s script, and this is what happened:

image

Once again, this happens in any game I’ve entered with Script Version History enabled during the week. Collaborative Editing is off and Team Create is on. If we had a choice, I’m sure everyone working in our team would disable this feature until these issues are fixed as it just adds onto the irritation we already have trying to fix annoying bugs.

3 Likes

Hey pop,
Our sincere apologies, that your development flow is being disrupted. We should be able to make a change on Monday, which should help, mitigate issue #1 for you, and will have a discussion about other changes we can make to improve this behavior.
For issue #2, I am struggling to replicate this behavior, I will continue investigating, but if any other teams can confirm they are experiencing this issue, or when it happens that would help speed up our investigation.
I will update this thread when we have released the change for issue #1, and then if you are continuing to experience disruptions in your workflow we can discuss alternative solutions.
Thanks for your report and patience.

3 Likes

Change has gone live to increase speed of solitary commits. Hopefully this improves your workflow. These changes will take effect next time you open studio.
If you are continuing to frequently see issue #1 please let us know, along with the average approximate time you are seeing for a solitary script commit and the size of the average script you are committing.
Also please follow up if you are continuing to see issue #2.

3 Likes

It seems to be working better now. I will let you know if we come across any problems with the fix for issue #1 or if I get more info on issue #2. Thank you!

Edit:

I just tried it on a module about 800 lines of code long and it doesn’t appear to be fast enough. I would prefer if publishing waited for all scripts to be committed before finishing because currently I have to spam publish anyways.

The sizes of these scripts are all about a thousand lines or so, but one of them was really short about 25 lines. It takes about 2 seconds to 3 seconds to commit a script most of the time, but it also takes about 1-2 seconds for me to publish a game.

1 Like