Skip to content

Generate Physics and Collider settings for a Mesh are lost every time the 3D Scene is Re-Imported #70255

Description

@alfredbaudisch

Godot version

4.0-beta8

System information

Windows 10

Issue description

When importing FBX/GLTF files, and selecting Meshes from the Scene in the Advanced Import Dialog, and then checking "Generate Physics" and customizing "Body Type" and "Shape Type", the settings are correctly applied in the first Reimport action.

But subsequent reimports using the Import tab or the Advanced Import Dialog, end up resetting the Physics settings. The issue is random, sometimes it resets via the Import tab, sometimes via the Dialog.

Steps to reproduce

  • Import any FBX/GLTF file into the project.

  • Double click it to open the "Advanced Import Settings" Dialog

  • Click any MeshInstance to be imported, click Physics

  • Change Body Type and Shape Type to a non-default value, example:
    imagen

  • Now click Reimport

  • Right click the file, New Inherited Scene.

imagen

  • In the Scene tree, check that the correctly physics Nodes were added:

imagen

imagen

  • Now, with the mesh file selected in the FileSystem click the Import tab and click Reimport.:

imagen

  • Right click the file again, New Inherited Scene and make sure you go to the Scene tree of the new scene.
  • The collision shapes are gone OR they are back to the default one (Trimesh Static)

imagen

  • SOMETIMES, the shapes are still regenerated. But then, if you re-open the Advanced Import Settings dialog, the physics settings are gone too:

imagen

Minimal reproduction project

Any blank project with a FBX file will do, but in any case here it is a project with a simple FBX file:
PhysicsImportSettings.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions