You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GLTF code has the file parsing and node generation steps split up. This should allow generating multiple Godot scenes from the same imported GLTF file. However, this does not currently work as expected. Example GDScript code:
Basically, the Godot node generation should all be happening in the orange circle, but the current code has a problem where some of it is happening in the red circle:
Steps to reproduce
Open the minimal reproduction project and hit the play button. The project contains the above code.
With the current master: Godot crashes.
With only #80272: The second scene is missing a skeleton, and errors are spammed in the console.
With both #80272 and #80831: Both scenes have a skeleton (the correct behavior).
Godot version
Latest master 4.2.dev 5444afa
System information
macOS 13.4.1
Issue description
The GLTF code has the file parsing and node generation steps split up. This should allow generating multiple Godot scenes from the same imported GLTF file. However, this does not currently work as expected. Example GDScript code:
Basically, the Godot node generation should all be happening in the orange circle, but the current code has a problem where some of it is happening in the red circle:
Steps to reproduce
Open the minimal reproduction project and hit the play button. The project contains the above code.
With the current master: Godot crashes.
With only #80272: The second scene is missing a skeleton, and errors are spammed in the console.
With both #80272 and #80831: Both scenes have a skeleton (the correct behavior).
Minimal reproduction project
GLTFGenerateMultipleScenes.zip
The text was updated successfully, but these errors were encountered: