-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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/-s argument is ignored on Ubuntu #30680
Comments
@quentincaffeino where in the documentation? |
Cannot confirm on Arch Linux, Godot v3.2.dev.custom_build. 22c843b. Tried:
My script extends SceneTree, but that shouldn't matter, right? |
@NilsIrl, https://docs.godotengine.org/en/3.1/getting_started/editor/command_line_tutorial.html?highlight=command%20line#running-a-script @bojidar-bg, tried with SceneTree, same result: I get blank gray godot window. |
@quentincaffeino Can you reproduce this issue with a blank project that contains just the script you're trying to run? Maybe this is caused by some project settings in the project you tried to run the script in. If you can confirm this, it'd be nice to upload a ZIP archive of this project (or link to a repository) 🙂 |
The last comment didn't get a reply, so closing for inactivity. Comment if you can still reproduce in 3.2.3. |
Sorry, I forgot about this issue. Yes issue is still occurring on v3.2.3.stable.official.
Output:
Minimal repro project: |
Actually I didn’t accurately describe the problem in the first post. Script runs fine (the reproduction project has an error where I've put print into _ready not _init) and prints message. What I thought the issue was that I see this blank gray window, should it open? |
Yeah, the window should open. If you want to run the script without window, you need to use a headless build. It that's the only problem then it's not a bug. |
Then we can consider this resolved) |
See also #42276. |
Godot version:
v3.2.dev.custom_build.755b58938
OS/device including version:
4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Issue description:
I think some time ago it was even written in docs that
-s
argument is supported only by windows based os. Now this line is gone, but I'm still not able to run godot in script mode.Steps to reproduce:
Run
godot --path $PWD -s somescript.gd
on script that extends MainLoop.The text was updated successfully, but these errors were encountered: