Skip to content

Import options do not change if all options get reset to default. #98013

Closed
@SaracenOne

Description

@SaracenOne

Tested versions

4c4e673

System information

Windows 11

Issue description

In the Advanced Importer, if physics/collision is added to a mesh, then reimported, then you go back into the importer and remove it and attempt to reimport, the physics will still be assigned. This appears to be due to utilization of the _subresources parameter in the .import file which only gets overwritten if it contains data, meaning that if you revert an imported scene to a state where it has no custom parameters, it will be perpetually stuck.

Steps to reproduce

  • Import a FBX/GLTF file.
  • Open the advanced import settings.
  • Add physics to one mesh in the scene.
  • Reimport the scene.
  • Go into the advanced import settings again and remove the physics.
  • Reimport the scene.
  • Go into the advanced import settings yet again and observe how the physics are still assigned when the should be removed.

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions