FBX2glTF icon indicating copy to clipboard operation
FBX2glTF copied to clipboard

Fbx2Gltf produces malformed gltf file

Open gleblebedev opened this issue 4 months ago • 4 comments

Godot version

FBX2glTF v0.13.1

System information

Windows 11

Issue description

Fbx2Gltf produces malformed gltf (glb) file that doesn't pass validation:

            {
                "code": "EMPTY_ENTITY",
                "message": "Entity cannot be empty.",
                "severity": 0,
                "pointer": "/animations/0/channels"
            },
            {
                "code": "EMPTY_ENTITY",
                "message": "Entity cannot be empty.",
                "severity": 0,
                "pointer": "/animations/0/samplers"
            },

UncappedCilinderWithRotatedUVProjection.zip

Steps to reproduce

Run the tool on attached fbx file and run the output through validator https://github.khronos.org/glTF-Validator/

Minimal reproduction project

gleblebedev avatar Nov 11 '25 19:11 gleblebedev

As per our notice: We no longer actively maintain this repository as we won't be needing it going forward. If you want to build on top of it for your own use cases, feel free to fork it.

I haven't looked at FBX2GLTF in many years. Sorry that I can't help.

fire avatar Nov 12 '25 09:11 fire

@fire do you accept PRs? Can I fix it myself?

gleblebedev avatar Nov 12 '25 11:11 gleblebedev

The pull request system has been broken because of mac support I think.

I think if we want to get prs working, we'll need to restore the pull requests.

However, I think I can do the reviews and merge.

fire avatar Nov 12 '25 20:11 fire

See also https://github.com/ufbx/ufbx and https://github.com/bqqbarbhg/ufbx_write

I would prefer ripping out the fbx SDK and using these projects though.

fire avatar Nov 12 '25 20:11 fire