Committing Script Draft Issues

Every time i try to commit my script drafts, this happens

image

And this pops up when i hover over it for a second, would this be the status the above image talks about?

image

I also think this would help but im scared to click it incase it breaks something, and if it does, i dont wanna read through 3k + lines of code to find out what i broke

image

Anyone else experiencing this issue? Or maybe have found a fix for it?

1 Like

Does anyone know how I can check a script’s status??

1 Like

Out of curiosity, is team create enabled in the game you’re trying to commit the scripts in and if yes, was anyone recently editing those scripts?

2 Likes

i recommend just disabling the draft stuff, if you dont know how you open up game settings and disable collaborative editing

2 Likes

I’d save your work and re-open the studio because there might be a new version of the studio.

1 Like

Yes! I was from my laptop, i think they may have overlapped and messed up something, I copied the script i wanted to commit and put them both in a text document, then deleted the drafts and pasted the code back into the scripts and it let me commit, SO i fixed it but i am still curious on the issue.

1 Like

There wa a new version, i let it update but the problem was still there, so i did this

1 Like

both systems has its pros and cons, i eventually decided with keeping collaborative editing even tho im the only scripter on the game LOL

1 Like

Another developer have made some edits to the same script and the change has been committed. As per the documentation, like shown on the image, it appears somebody else was editing the same script as that green plus icon appears on the left side of script name.

In that case, you can click Compare with server button and see what’s the difference. Close the script and reopen. Then, you can commit your changes.

1 Like

Yeah, I’d honestly disable it. The features fairly new and still have some minor inconveniences. If you’re not working with a team of scripters to develop advanced code then collaborative editing isn’t really needed.

1 Like

I like it because i can publish my changes for a script without exiting which is really handy because it takes a bit to re open and re-find my place in the script because i am dealing with thousands of lines of code, where if collaborative editing was disabled you have to exit the script then publish the game for it to work, and ill have to find my place in the script again, which is almost always a hassle/waste of time.

I’ve weighed the pros and cons and i think ill always use collaborative editing

Hello… have you considered my post? You can also use the merge feature.

1 Like

Committing scripts is the most annoying thing for me. I go onto studio, open my place, do a bit of building, scripting and then publish/ save
And then:
yOu HaVe UnCoMmiTtEd ScRiPtS
I ended up just disabling team create for a few minutes so I could edit the script normally.

1 Like

This is a very common issue with me, if you want to fix this issue you can just discard the draft.

1 Like

Your post didn’t work.

(30 charssssssss)

you should try my fix it could help you out possibly

thats half of what i did to fix it…