-
-
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
Command line export with Linux headless always re-imports PNG resources #27963
Comments
looks like it's getting tripped up here Can we warn on invalid import settings? It doesn't seem to reimport them when i use the non-headless version.
if (!ResourceFormatImporter::get_singleton()->are_import_settings_valid(p_path)) {
//reimport settings are not valid, reimport
return true;
} Also, it only seems to happen for my Looks like this change: if (!metadata.has("vram_texture")) { but
It looks like it's not recognizing path.s3tc as a valid format for the platform?
|
When you say "than before", are you comparing to Godot 3.0? |
Yes, with 3.0 I could use --export with the headless build and export each platform and it did not re-import every resource. With 3.1 it fails to accept the resource file as up to date and re-imports every resource. (Because |
Facing the same as @jamie-pate for "Linux/X11" as well. Using headless Godot Command Output
Using regular Linux build fails with
The non-headless server also fails with
|
I was able to get rid of the re-importing issue by being inside the project folder and specifying the 'project.godot' file.
There is still the
but that is a different issue all together. #8985 |
|
It probably just silenced the reimport as |
Well it also silenced the exported files. Are you sure it's not --quit? |
|
Hm ;)
|
@akien-mga Seems like I was wrong then. It's kind of unexpected, |
Can we recreate this on the latest stable? |
@fire I'll try again in the weekend with the most recent 3.2 release It was happening to me on CI for version 3.2.2 (or 3.2.3) last spring. |
still a problem on 3.3.4 when running |
Is this maybe fixed in 4.0? |
#69511 maybe it's worse in godot 4? :D Still an issue on 3.5.2-rc1 with $ ./test.sh
Godot Engine v3.5.2.rc1.official.f5f0543ae - https://godotengine.org
reimport: begin: (Re)Importing Assets steps: 1
reimport: step 0: icon-texture.png |
Godot version:
3.1
OS/device including version:
linux_headless
Issue description:
When run with
--export
the headless version will re-import all resources, causing the export to take 20x longer than before.Steps to reproduce:
Download attached modified version of kinematic_character demo
extract
Minimal reproduction project:
kinematic_character_export.zip
The text was updated successfully, but these errors were encountered: