godotengine / godot

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

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

Open alfredbaudisch opened 1 year ago

alfredbaudisch commented 1 year ago

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

imagen

imagen

imagen

imagen

imagen

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

lyuma commented 1 year ago

Confirmed in 4.0rc3

Okay so what seems to be happening is the import panel is remembering what settings it saw from before you had opened the Advanced... window.

If you select a different object and then select back, it will now "Reimport" using the new, current settings.

A mitigation might be to reload or deselect the current object from the import settings every time the advanced importer is closed.