godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.53k stars 21.08k forks source link

Godot 3.5.2 skeleton crashes on 64bit but not 32 bit #77082

Open DennesTejada opened 1 year ago

DennesTejada commented 1 year ago

Godot version

3.5.2.stable

System information

Window 10, family Intel, gles 2

Issue description

I have a character model I made in blender that gets exported to dae/escn/gltf2/fbx. When I open it in 64 bit it crashes Godot, but on ,32 bit it opens with 1 fps. On web version it runs fine. The character has a rigitfy skeleton with a simple model.

Steps to reproduce

Add a blender rigitfy skeleton only to Godot in 64bit in gles 2 or 32 bit

Minimal reproduction project

No files

Calinou commented 1 year ago

@DennesTejada Please upload a minimal reproduction project to make this easier to troubleshoot.

DennesTejada commented 1 year ago

[Crash]Skeleton.zip here you go!

lawnjelly commented 1 year ago

The archive seems to be corrupt (at least it won't open on my linux).

Zireael07 commented 1 year ago

Same here, won't open

DennesTejada commented 1 year ago

It's works for me. I use windows for it. I reupload [Crash]Skeleton.zip

Zireael07 commented 1 year ago

This one opens, thanks

lawnjelly commented 1 year ago

The DAE seems to load fine. The FBX isn't importing correctly, you can see this when you delete the .import folder which forces a reimport.

If you look in the output:

 modules/fbx/scu/../editor_scene_importer_fbx.cpp:172 - We don't officially support Blender FBX animations yet, due to issues with upstream Blender,
so please wait for us to work around remaining issues. We will continue to import the file but it may be broken.
For minimal breakage, please export FBX from Blender with -Z forward, and Y up.

and lots of:

 modules/fbx/scu/../editor_scene_importer_fbx.cpp:507 - [doc] Serious: maximum bone influences is 8 in this branch.
 modules/fbx/scu/../editor_scene_importer_fbx.cpp:507 - [doc] Serious: maximum bone influences is 8 in this branch.
 modules/fbx/scu/../editor_scene_importer_fbx.cpp:507 - [doc] Serious: maximum bone influences is 8 in this branch.
 modules/fbx/scu/../editor_scene_importer_fbx.cpp:507 - [doc] Serious: maximum bone influences is 8 in this branch.
 modules/fbx/scu/../editor_scene_importer_fbx.cpp:507 - [doc] Serious: maximum bone influences is 8 in this branch.
 modules/fbx/scu/../editor_scene_importer_fbx.cpp:507 - [doc] Serious: maximum bone influences is 8 in this branch.

So it looks like animation / rigged models is not supported in FBX in 3.x.

Animation import is not really my area, but I think GLTF has got pretty good now. I personally have previously used DAE for animated models.

See: https://godotengine.org/fbx-import/

DennesTejada commented 1 year ago

well it still crashes for me. Not sure why but thanks