So i decided to package my project to test some things to see if they would work in a packaged project but i have been running into some issues with the packaging process and would like it if someone could clarify some things for me.
As mentioned in the title i’m running into the error that the file names are too long, (PackagingResults:Error: Error Error Couldn’t save package, filename is too long:) i have been searching a bit and found that some people has been having some issues with the path name being too long (>165 characters) and i also found a post explaining that the names of the files need to be 32 characters or shorter.
But when i’m looking through the log i find paths that are much larger than the 165 that i found other people talking about. These two paths are 190+ characters long but they did not show any errors.
C:/Users/Joar Hedvall/Documents/Unreal Projects/Workspace_HomeInvasion/ProjectHomeInvasion/HomeInvasion/Saved/Cooked/WindowsNoEditor/HomeInvasion/Content/Chameleon/Materials/EdgeDetect3x3HLSL.uasset
C:/Users/Joar Hedvall/Documents/Unreal Projects/Workspace_HomeInvasion/ProjectHomeInvasion/HomeInvasion/Saved/Cooked/WindowsNoEditor/HomeInvasion/Content/EuropeanFurniture/Mesh/BedsideCabinet02.uasset
Also, i sometimes find file names such as these two which are under the 32 character limit but for some reason they produce an error that the file name is too long.
T_gravelTile_01A_D_R.uasset
SM_Vegetation_Debris_002.uasset
I would appreciate if someone could explain if there is a path character limit and what the limit is for the file names.
Here are some of the errors.
PackagingResults:Error: Error Error Couldn't save package, filename is too long: C:/Users/Joar Hedvall/Documents/Unreal Projects/Workspace_HomeInvasion/ProjectHomeInvasion/HomeInvasion/Saved/Cooked/WindowsNoEditor/HomeInvasion/Content/KiteDemo/Environments/Trees/Vegetation_Debris_002/SM_Vegetation_Debris_002.uasset
PackagingResults:Error: Error Error Couldn't save package, filename is too long: C:/Users/Joar Hedvall/Documents/Unreal Projects/Workspace_HomeInvasion/ProjectHomeInvasion/HomeInvasion/Saved/Cooked/WindowsNoEditor/Engine/Content/Functions/Engine_MaterialFunctions02/Texturing/ScreenAlignedPixelToPixelUVs.uasset
PackagingResults:Error: Error Error Couldn't save package, filename is too long: C:/Users/Joar Hedvall/Documents/Unreal Projects/Workspace_HomeInvasion/ProjectHomeInvasion/HomeInvasion/Saved/Cooked/WindowsNoEditor/HomeInvasion/Content/KiteDemo/Environments/Trees/ScotsPineTall_01/ScotsPineTall_01_Billboard_Mat.uasset