You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have a mesh with "Save to File" enabled from a .glb, if you reimport the .glb, causing the "save_to_file/path" in the import to switch to UID, the .import file becomes corrupted and you'll be unable to open the .glb import page.
These are the changes to the .import file that happen when you reimport:
Steps to reproduce
Import a .glb.
Open its import page and set one of its meshes to "Save to File". Set the path and save it to a new (.res) file.
Open the .glb's import page again. Notice that it opens.
In the .glb's import page, click into the "Save to File" path textbox and move your text cursor around a bit. Then reimport. What this did was switch the "save_to_file/path" in the .import file to UID, because for some reason when you do it the first time it'll save as a "res://" path.
Confirm that it's switched to UID by opening the .glb .import file in a text editor and checking that the "save_to_file/path" is now a UID.
Open the .glb's import page again. Notice that it does not open, and the .glb icon in the Godot FileSystem tab is now a red X.
Forgot to mention: even if you revert the path=, valid=false, and dest_files= lines and only keep the UID in the .import file, the next time Godot touches that .import file it gets corrupted again anyway
Tested versions
System information
Godot v4.4.dev5 - Windows 10.0.22631 - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA; 32.0.15.6614) - AMD Ryzen 5 5600H with Radeon Graphics (12 threads)
Issue description
When you have a mesh with "Save to File" enabled from a .glb, if you reimport the .glb, causing the "save_to_file/path" in the import to switch to UID, the .import file becomes corrupted and you'll be unable to open the .glb import page.
These are the changes to the .import file that happen when you reimport:

Steps to reproduce
Minimal reproduction project (MRP)
glb-export-mesh.zip
The text was updated successfully, but these errors were encountered: