Open Nodragem opened 3 months ago
Note 1: I think the bug will also extend to FBX and other 3D files import. Note 2: I experienced the same problem when moving a 3D file with an extracted material. Might need to open another issue, but it is probably a similar bug.
I've come across this as well and investigated a bit. All paths for extraction in the advanced import dialog do not work with moving/renaming, and do not use uids at all.
The solution would be to either:
The relevant code is across scene_import_settings
for the settings write and filesystem_dock
for moving/renaming files
Tested versions
4.3 stable
System information
Windows 11
Issue description
I have put all the files related to my character in a folder; that is a .tscn, a .glb and extracted animation. After moving this folder to another folder, I get all the scenes that uses this character tagged as corrupted.
After some research, I can see that the
.import
did not update thesave_to_file/path
for extracted animation:res://enemies/melee/minion/Attack.res
should now beres://characters/enemies/melee/minion/Attack.res
To correct these paths fixed the issue.Also, note that it might be good to give more details on why a scene is corrupted and tell the user that this is the glb import being corrupted.
Steps to reproduce
Minimal reproduction project (MRP)
NA