godotengine / godot

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

Bug: When engine automatically re-imports GLB it adds copy of imported 3d model to every opened 3d scene #82731

Open RonYanDaik opened 1 year ago

RonYanDaik commented 1 year ago

Godot version

4.1 rc2 https://github.com/godotengine/godot/commit/46424488edc341b65467ee7fd3ac423e4d49ad34

System information

win 10

Issue description

When engine automatically re-imports GLB it adds "ghost" copy of imported 3d model to every opened 3d scene.

Steps to reproduce

Please watch video of me trying to reproduce it. Bug occurs in the end of video:

https://github.com/godotengine/godot/assets/3350340/0da1eabd-fdc0-49b2-96a3-e3a7bf456026

  1. Create Empty 3D scenes.
  2. Open them up.
  3. import glb file
  4. add inherited scene from glb file, dont save it
  5. add glb file to one of scenes
  6. add glb file to another scene and make it local
  7. add another empty 3d scece: 7.1 add a mesh to third scene, 7.2 add animation player 7.3 add animation library and add some animations exported from glb
  8. Don't close Dodot, keep all scenes open, edit mesh in blender and resave it. focus godot window, godot will reimport glb model
  9. bug should occur.

Minimal reproduction project

N/A. You need a simple mesh with skeleton, and several empty 3d scenes, and interact with blender.

fire commented 1 year ago

@SaracenOne https://github.com/godotengine/godot/pull/82471 I suspect these fixes are related but its hard to confirm. Ideas?

lyuma commented 11 months ago

I think this might be the same issue as #82422