-
-
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
GLTF files can prevent PNG/SVG files from being imported on Arm systems #76691
Comments
Unable to reproduce on 4.0.2 stable on windows. Is this possible macOS specific? |
@lyuma Thanks for testing. I re-tested with 6980b2b on several different platforms that I have access to. I can still reproduce the issue on macOS arm64 and I can also reproduce the issue on my Linux arm64 VM on my Mac but it works fine on Windows x86_64 and Linux x86_64. EDIT: My brother tested on his x86_64 Mac mini and he doesn't experience it. So this seems like it might be an ARM-specific issue, or possibly an issue specific to the Mac hardware (I have an M1 Pro). Either way this is strange, and it would be helpful to get more testing. |
^ can load the pngs on macOS Monterey 12.6.1 (x86_64 Mac mini late 2014)
|
@aaronfranke, since there's been some operating system updates to macos, can you do a check again? |
Godot version
Latest master 2a0aef5 but different behavior on master
System information
macOS 13.3 arm64 (also happens on Ubuntu Linux arm64)
We have narrowed down the bug in the comments, it seems to only happen on ARM, not x86.
Issue description
Some hard-to-isolate situations can cause other files like PNG files to be permanently unimported. In some cases this can be fixed by deleting the
.import
files, but in some cases Godot gets stuck and it refuses to even regenerate the.import
files let alone perform the import.One of these situations can be triggered by the GLTF files in the attached minimal reproduction project. Part of this issue is a regression since 4.0-stable, part of it also exists in 4.0-stable.
Steps to reproduce
.glb
and.gltf
files. Double-click on a PNG file. Same errors..glb
and.gltf
files. Double-click on a PNG file. Same errors..png.import
files. The PNG files will now import and load fine..glb
and.gltf
files are deleted before you start Godot for the first time, the PNG files load fine.Another problem that you can test in the same minimal reproduction project, this has regressions since 4.0-stable:
.glb
file. The torch will be white. This is a regression, in Godot 4.0-stable the torch has the proper textures. In the console it prints these errors:.gltf
file. Similarly, the torch will be white, a regression, and errors in the console. But also note how Godot creates 2 new PNG files when double-clicking on the.gltf
.icon.svg.import
in the root of the project. Now Godot will refuse to importicon.svg
, and it does not generate theicon.svg.import
file..png.import
files. Now Godot will import those, and it will also importicon.svg
, and double-clicking on the.glb
or.gltf
files will result in the models having textures..glb.import
file. Try double-clicking it again and the texture will be white again.icon.svg.import
in the root of the project. Now Godot will refuse to importicon.svg
(again), and it does not generate theicon.svg.import
file (again)..import
files to not generate.The first issue is also present in 4.0-stable, I have written some text about that collapsed:
.glb
and.gltf
files. Double-click on a PNG file. Same errors..glb
and.gltf
files. Double-click on a PNG file. Same errors..png.import
files. The PNG files will now import and load fine.Minimal reproduction project
wherearemyimports.zip
The text was updated successfully, but these errors were encountered: