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
I exported textures with Automatically add affixes on export and Remove affixes after export toggled on. After saving the project file and restarting Blender, those textures are missing and display a purple placeholder in the scene.
I tried to figure out a bit about this bug. Each time send2ue plugin adds affixes to textures it creates a temp folder under %LocalAppdata%\Temp\blender\send2ue\data\affix_textures. All altered textures are placed under this directory. However, when you close the editor, send2ue plugin will clear the data directory since it also contains the temp .fbx file and this behavior is understandable.
But Blender is still referencing the textures inside data\affix_textures folder, and after you restart your project, they are missing. So a possible fix to this bug should store the reference path to origin texture before rename them, and change the reference back after rename or before exiting editor.
Addon: Send to Unreal
Step to reproduce:
Create a minimal project by File > New > General in Blender, then add a texture to the cube. Make sure the Automatically add affixes on export and Remove affixes after export are ticked on
Push asset, now you can see the temp files under %LocalAppdata%\Temp\blender\send2ue\data\affix_textures
Save your blender project, and close the editor. You will see that the data folder has been deleted
Reopen your Blender project, now all textures are missing
Error Log: Path 'C:\Users\hudaq\AppData\Local\Temp\blender\send2ue\data\affix_textures\T_Wall_Brick_01_C.tga' not found (note that this just explains why the missing happens, for more details please read the section above)
OS: Windows 11
Addon Version: Send to Unreal 2.4.3
Blender version: Blender 3.6.17
Unreal version: Unreal 5.4.4
The text was updated successfully, but these errors were encountered:
I exported textures with
Automatically add affixes on export
andRemove affixes after export
toggled on. After saving the project file and restarting Blender, those textures are missing and display a purple placeholder in the scene.I tried to figure out a bit about this bug. Each time
send2ue
plugin adds affixes to textures it creates a temp folder under%LocalAppdata%\Temp\blender\send2ue\data\affix_textures
. All altered textures are placed under this directory. However, when you close the editor,send2ue
plugin will clear thedata
directory since it also contains the temp.fbx
file and this behavior is understandable.But Blender is still referencing the textures inside
data\affix_textures
folder, and after you restart your project, they are missing. So a possible fix to this bug should store the reference path to origin texture before rename them, and change the reference back after rename or before exiting editor.File > New > General
in Blender, then add a texture to the cube. Make sure theAutomatically add affixes on export
andRemove affixes after export
are ticked on%LocalAppdata%\Temp\blender\send2ue\data\affix_textures
data
folder has been deletedPath 'C:\Users\hudaq\AppData\Local\Temp\blender\send2ue\data\affix_textures\T_Wall_Brick_01_C.tga' not found
(note that this just explains why the missing happens, for more details please read the section above)The text was updated successfully, but these errors were encountered: