godotengine / godot

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

Reimported 3D models not updating in Instanced Scene #75970

Open IcyChills opened 1 year ago

IcyChills commented 1 year ago

Godot version

4.0.2.stable.mono.official [7a0977ce2]

System information

Windows 10, Vulkan

Issue description

Reimported an updated animated 3D model to Godot, old version of models remains in instanced scene. Saving and exiting, then restart Godot did not fix the issue.

Steps to reproduce

Reimported an updated animated 3D model to Godot which also belongs to an instanced scene.

Minimal reproduction project

N/A

AThousandShips commented 1 year ago

Did you ever mark the models used as unique or used "make unique"?

AThousandShips commented 1 year ago

Possibly duplicate of #68672 but hard to know with limited information on what is the exact issue and setup here

IcyChills commented 1 year ago

I refrained from making the instance locally available within the scene, as it was initially generated from the main scene. Consequently, I opted to discard the TPS controller I was constructing. Instead of generating an instance from the model in the main scene,

I created a fresh scene, imported the model into it, and then produced an instance of the model. As of now, the model is successfully updating on re-imports. However, I have yet to incorporate the scripts and IK setup into the controller. I will address this matter and provide further updates if necessary.

IcyChills commented 1 year ago

I can verify that the issue persists when attempting to re-import a scene that contains additional nodes, such as CollisionShape3D, SpringArmPivot = Node3D, SpringArm3D, Camera3D, and AnimationTree.

To replicate the issue, you may refer to the tutorial provided at the following link:

Zireael07 commented 1 year ago

@IcyChills Link didn't post?

IcyChills commented 1 year ago

My apologies seems github didn't post it and I didn't notice. Power was off, so reply is late.

https://www.youtube.com/watch?v=VasHZZyPpYU

IcyChills commented 1 year ago

Here is a quick and rather sloppy made rigged 3D model for your convenience

https://filebin.net/ts0mvy27h59sgcw5

and-rad commented 1 year ago

Is this still a problem? The filebin is not accessible anymore and there is no MRP attached to this issue.

IcyChills commented 1 year ago

Is this still a problem? The filebin is not accessible anymore and there is no MRP attached to this issue.

Sorry for the delayed response, didn't check github for a while. It is still a problem, changes made in Blender is not being updated when reimporting the model. Tested with blend and gltf formats.

Only workaround is to create the entire player scene from scratch with every update on the model. I'll have to create an MRP as the current project can't be shared anymore in its current state. I'll post a link once that is done.

slumberface commented 1 year ago

I am running into this issue on 4.1.1.

After iteratively updating a character's 3D model, eventually something happens where the model's inherited scene stops updating upon reimport.

Has anyone figured out a way to force the model in the inherited scene to start updating again? I've come across some older fixes for this sort've thing but they don't seem to work any longer.

Potentially related: (2022) https://github.com/godotengine/godot/issues/63513 https://github.com/godotengine/godot/issues/80132 https://github.com/godotengine/godot/pull/57606

saminton commented 5 months ago

I'm not sure if this is the same problem but this happens to me constantly when using the "editible children" feature. In this screenshot house_1 and house_2 are the same file :

SCR-20240612-tjse

I have noticed the scene stops updating the when the "inherited scene" icon is no longer there even though the children are still in yellow as if inherited from something 🤷.

When using glb files instead of blender files my child scene's children just disappear completely and I'm left with a empty Node3D instead.

This bug is my one major gripe with Godot so far. It's causing me to redo any modifications I might have done to the scenes children whenever it breaks, which is not all the time still but very often.