godotengine / godot

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

Mesh appearing in wrong scene on reimport #82422

Open wilfredjonathanjames opened 9 months ago

wilfredjonathanjames commented 9 months ago

Godot version

4.1.1, 4.1.1-mono, 4.2-mono-rc5

System information

MacOS 12.3

Issue description

When updating a .glb with an inherited scene, and Godot auto-imports changes, the imported model appears in the currently active scene.

The only fix is to switch to the inherited scene and back or restart Godot.

I don't believe this was an issue in 4.0.3.

Steps to reproduce

Video of steps here.

  1. Open main.tscn and gas_station.tscn
  2. Switch to main.tscn
  3. Move GasStation1 away from center
  4. Open gas_station.blend in blender and modify it in some way.
  5. Export to .glb. Export settings should be saved, so just hit export
  6. Switch to Godot
  7. There should now be two GasStations in main.tscn
  8. Switch to gas_station.tscn and back again
  9. Second GasStation will be gone

Minimal reproduction project

Repro project here.

lyuma commented 6 months ago

Can you reproduce this in 4.2.1?

@SaracenOne do you know if this was fixed?