Nonexistent function `save_all_scripts`
Flagging in case you haven't run into this!
When you click "build and deploy", I get
res://addons/rivet/devtools/dock/deploy_tab.gd:59 - Invalid call. Nonexistent function 'save_all_scripts' in base 'ScriptEditor'.
(The function does indeed not exist)11 Replies
let me get my hands dirty with the plugin again, give me a moment
I would have tried but you probably already have logic for this somewhere
@Nathan this is cause the function I used got changed (I think)
Godot Engine documentation
EditorInterface
Inherits: Object Godot editor's interface. Description: EditorInterface gives you control over Godot editor's window. It allows customizing the window, saving and (re-)loading scenes, rendering mes...
I think that's what we want
weird, i can't find save_all_scripts in docs for any version. maybe it's undocumented?
GitHub
godot/editor/plugins/script_editor_plugin.cpp at 374807f427eec5ee7c...
Godot Engine – Multi-platform 2D and 3D game engine - godotengine/godot
haha good catch
it's there on master 🧐
No idea how I thought it worked or something
Forget how I was testing this
It was hard to tell where they exposed editor things that I could hit to save things
New version will be released momentarily with a fix for this 👍🏻
https://discord.com/channels/822914074136018994/1184022570178191461/1255736925717790730
thank you!!