-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script changes won't be saved #3137
Comments
@FEDE0D When it comes to "ordinary" gd script files I don't think this issue applies to them (never observed yet, while had some problems with those build into scenes). Which file-format for your 'scripted-scenes' do you use (scn|xscn|tscn)? |
I can confirm this issue, with a scene in scn format. |
Would be ideal if we could have detailed step by step instructions on how to reproduce this issue... I assume there exist some sequence of opening/saving/closing/reverting/switching to other scene, actions that is causing this.. |
I also have this kind of issue with a new build provided by Kelinci Senja on Facebook. Godot v2.0.alpha-r2575 + Windows 7 x64 |
@ScotFlux What file format are you using? Gd or those are putted inside scn|xscn|tscn? |
@kubecz3k I used the .gd(s). I haven't test script(s) inside scn|xscn|tscn. Edit 1: Forgot to say : Sorry for late to reply. :-) |
No. I those are still checked. |
No idea then, I can't reproduce this.. but I fixed a bug that may be related some hours ago |
Btw, menu script>save was not working at all (even for .gd files), didn't check if it was fixed this week |
That must me it
|
menu > save was fixed a few days ago, so closing this |
This is a bug for sure. I'm going through the same problem. Every time this happens, I have to create a new project and port everything there, which slows down production a lot. It gets in the way too much! And also if you try to "save as" it doesn't allow overwriting. I'm using the latest stable version of Godot 3.4.2. Please check this as it is a bug that was present in previous versions. Look at this post is from 2020 and it hasn't been fixed yet. In my case my problem is not with the GDScript itself, but with saving an existing scene that I had to change, when creating a node or when I am going to change the scene I reported this error as well |
@felipefacundes Please don't bump old closed issues by copy-pasting the same message. This bug is already being tracked in #40366. |
This is a weird and random bug but it's very crucial to have fixed.
I tend to use built-in scripts instead of a proper saved file for some minor scripting on some nodes.
Sometimes when I change something on the code these changes won't be saved.
When I press Ctrl + S to save it does save the scene and the little (*) indicator disappears from the file name as it was saved correctly. However when the game is run, it's the previous version of the code that is running. I can re-edit and re-save the script several times but its still the old version that gets loaded in-game.
I can confirm that because when I close the editor and reopen the project, the script is the previous version as it was never saved.
I don't know if this extends also to common script (.gd) files but I guess it does.
I can't provide a sample project or steps to reproduce because it appears to be random (although I've encountered it very often working on my project )
I'm using the version at commit 09e3dd1ecb9d09d2cbd170cd99d552fb2a310d24
I'm on Linux Mint 17.
The text was updated successfully, but these errors were encountered: