Description
Tested versions
- Reproducible in 4.4.dev [108c603]
- Not reproducible in 4.3.stable
System information
Godot v4.4.dev (108c603) - macOS 14.6.1 - Metal (Mobile) - integrated Apple M1 (Apple7) - Apple M1 (8 Threads)
Issue description
glTF Binary models do not appear to be importing correctly in 4.4.dev [108c603]. Dragging a model with the accompanying Texture
folder (tested using two Kenney.nl 3D model kits a, b) into the Godot Editor's file manager will copy them successfully, and double clicking on the imported model will display it correctly in the Advanced Import Settings preview, however attempting to instantiate the model into the scene results in an error Failed to instantiate scene state of "res://chair.glb", node count is 0. Make sure the PackedScene resource is valid.
not present in 4.3.stable.
I don't think this is a duplicate of the other glTF issues but I am unsure if it may be related.
Performing git bisect good 4.3-stable && git bisect bad 108c603f9
indicates 7a20ba9 is the culprit
Steps to reproduce
- Open attached MRP
- Open
test_scene.tscn
- Attempt to instantiate
chair.glb
in the scene - Model fails to load in 4.4.dev [108c603] with error:
Failed to instantiate scene state of "res://chair.glb", node count is 0. Make sure the PackedScene resource is valid.
- If you attempt to then load the project in 4.3.stable,
chair.glb
will still not instantiate until it is reimported, then it will instantiate but displays as a wireframe (not sure why this is) - Creating a fresh project in 4.3.stable and importing the
chair.glb
has no issues, and removing the.godot
folder in the project and re-opening it in 4.3.stable also resolves the issue
- If you attempt to then load the project in 4.3.stable,
Note: This only occurs if the model has been imported/re-imported in 4.4.dev, if it is imported in 4.3.stable and then the project is opened in 4.4.dev it works completely fine until you re-import chair.glb
, after which the scene can no longer be re-opened