Fbx2Gltf produces malformed gltf file
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
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 do you accept PRs? Can I fix it myself?
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.
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.