-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Crash on saving script #5620
Comments
I confirm. |
Can confirm. Arch Linux x64. |
Damn :( I'm on it, will fix. |
Backtrace from a crash when saving a level with a tileset:
|
Looks like this triggers the bug: 257d370 |
Fixed by 5184b21. Could you guys try the 2.0 branch to confirm that the issue is fixed, and that there are no other regressions? I've also put a pre-compiled version of Linux x64 here: http://download.tuxfamily.org/godotengine/2.0.4/godot.x11.tools.64_hotfix.zip (built on Mageia 6). |
That seems to have fixed it on my end, I tried editing + saving a script about 20 or so times and it never crashed once. |
Just tried my project that was crashing nearly instantly (first or second save), and it hasn't crashed in the last 30 or so saves! Great work! |
@akien-mga Any reason not to just mark it as 2.0.5 so that there isn't 4 version numbers? |
@aaronfranke I think you are a couple of years too late... I mean, by this point this is only history, no need to touch it. |
Operating system or device - Godot version:
Linux Mint 18 x64
Godot 2.0.4 Stable (Linux 64) (download from site)
Issue description (what happened, and what was expected):
The editor randomly crashes when I save a script. It happens only with old projects made in 2.0.3. I tried 2.0.3 again and confirmed that the issue is only on 2.0.4. Also, it seems to only occur when using the hotkey (ctrl+s) to save the script. I haven't gotten it to crash when using the menu to save (File > Save). I made a new project in 2.0.4 and the issue went away, but when I tried moving over all my important files (*.tscn and *.png) the issue came back. The Control.tscn and Control.gd was made in 2.0.4 and all I did was try and edit and save Control.gd while having Control.tscn open, and it crashed again, even though I haven't even touched the old files from the 2.0.3 project, but before moving over the old files, it worked just fine. I think the issue has something to do with the *tscn files from 2.0.3.
Steps to reproduce:
Link to minimal example project (optional but very welcome):
game.zip
Terminal Output (No actual error messages appeared, but it crashed very time)
batmanasb@MintySuitcase ~ $ /home/batmanasb/MEGA/Godot/Godot2.0/Godot_v2.0.4_stable_x11.64
OPENING: /home/batmanasb/MEGA/Godot/Projects/Rogue Voyage/game (::home::batmanasb::MEGA::Godot::Projects::Rogue Voyage::game)
VBoxContainer: 136,100
batmanasb@MintySuitcase ~ $ bind toptions
TextureButton: 16,-4
Label: 289,63
HBoxContainer: 70,27
settings changed
^C
batmanasb@MintySuitcase ~ $ /home/batmanasb/MEGA/Godot/Godot2.0/Godot_v2.0.4_stable_x11.64
OPENING: /home/batmanasb/MEGA/Godot/Projects/Rogue Voyage/game (::home::batmanasb::MEGA::Godot::Projects::Rogue Voyage::game)
VBoxContainer: 136,100
bind toptions
batmanasb@MintySuitcase ~ $ settings changed
No completion
^C
batmanasb@MintySuitcase ~ $
The text was updated successfully, but these errors were encountered: