-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corrupted scene when moving a GLB file and its animation files #95637
Comments
Note 1: I think the bug will also extend to FBX and other 3D files import. |
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 godot/editor/import/3d/scene_import_settings.cpp Lines 1517 to 1561 in 96be44c
|
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
The text was updated successfully, but these errors were encountered: