Skip to content

GLTFDocument loader returns Freed Object at runtime #98038

Closed
@huwpascoe

Description

Tested versions

4.3

System information

Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 960 (NVIDIA; 32.0.15.6081) - Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz (4 Threads)

Issue description

GLTFDocument is unable to load scenes at runtime if the gltf file contains "GODOT_single_root".

The resulting node is<Freed Object>.

Steps to reproduce

Save a gltf file with root_node_mode set as default (ROOT_NODE_MODE_SINGLE_ROOT), then load it and call generate_scene.

Minimal reproduction project (MRP)

gltfdocsave.zip
image
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions