Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import FBX model in 4.4.dev #96223

Closed
takethebait opened this issue Aug 28, 2024 · 5 comments
Closed

Unable to import FBX model in 4.4.dev #96223

takethebait opened this issue Aug 28, 2024 · 5 comments

Comments

@takethebait
Copy link

takethebait commented Aug 28, 2024

Tested versions

  • Reproducible in 4.4.dev [108c603]
  • Not reproducible in 4.3.stable [77dcf97]

System information

Godot v4.4.dev.mono (108c603) - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (NVIDIA; 32.0.15.6094) - AMD Ryzen 9 3900X 12-Core Processor (24 Threads)

Issue description

When importing a mixamo character as an FBX in 4.4.dev, its not possible to instantiate it in a scene. The import process itself runs without issues however when attempting to drag the model into the scenes the output log is spammed with the following errors:

Errors

To note may be that when importing the same model in 4.3.stable the following warnings are logged:

Warnings 2

I don't know if that is relevant, I just wanted to mention it in case there are issues with the model itself.

It was possible to import the character without issues in 4.3.stable. It was also possible to instantiate the model in 4.4.dev when performing the import in 4.3.stable and then opening the project in 4.4.

The models I've tested were the X-Bot as well as the Alien Soldier with both failing with the same errors.

Also I'm using the following props in my custom.py:

production = "yes"
module_camera_enabled = "no"
module_mobile_vr_enabled = "no"
module_mono_enabled = "yes"
module_openxr_enabled = "no"
module_webrtc_enabled = "no"
module_websocket_enabled = "no"
module_webxr_enabled = "no"

Steps to reproduce

  • Create a new project
  • Import a mixamo character exported as FBX Binary into the project
  • Attempt to drag it into the scene

Minimal reproduction project (MRP)

N/A

@takethebait
Copy link
Author

Just as a quick update, I retested this using a default cube exported from Blender as FBX and it fails with the same errors, so this does not seem to be related to the models used in the issue description.

@ydeltastar
Copy link
Contributor

I bisected it to 7a20ba9.
It happens with glTF as well and causes a Scene file 'scene.tscn' appears to be invalid/corrupt when trying to open scenes with an instance of the model.

@akien-mga
Copy link
Member

This was likely already fixed by #96207, can you confirm?

@takethebait
Copy link
Author

Yes, building [f648de1] the issues seems to be fixed for FBX and gLTF!

@ydeltastar
Copy link
Contributor

Yes, that pr fixes it. May require deleting the cache folder to fix the corrupt scene error.

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

No branches or pull requests

4 participants