What is the best cooking file length?

I am trying to compile/package a project using ue4.23 and there is a texture with file length of 160 and the project ignored that file to compile/cook, the mesh related to this rexture is just a mesh without a texture in a compiled game.
I can move this file to near directory but this is not a solution , while I know the maximum length is 260 , than why the texture is ignored?

Note, the same project has no issues if compiled with ue4.20
Thank You

1: file length is related to windows, not ue4.
2: you need to enable windows long file length access , after that ue will not have problems with any long file length directory.

To enable this, perform the following:

1. Start the registry editor (regedit.exe)
2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
3. Double-click LongPathsEnabled
4. Set to 1 and click OK
5. Reboot and retry to package the project

hope it helps, cheers!

2 Likes

Thank You Sir very much, this solved my problem ) now I can rename files longer as I want :smiley: