Git clone UE4 promoted branch error filename too long

Trying to clone UE4 promoted branch to my local machine using HTTPS URL and GIT shell (GITHUB app times out halfway through every time but GIT shell does not -might make another post for this if you know why please tell). Anyway GIT shell gets the whole package and then this error of “filename too long” comes up posted below. I searched and found WIn 8.1 64 may have an issue with filename length error and found an update and tried to install but I am currently up to date on all updates and it said you already have this update. I was going to try to just carry on but that does not seem wise as this will be an ongoing issue and most likely the program will not work. Any ideas? Why is this just happening to me? Thanks

C:\Users\Andrey\PerforceWorkspace\anvilworkspace\megamaker\master\unreal_engine> git clone https://github.com/megamind888/UnrealEngine.git unrealengine_promoted
Cloning into ‘unrealengine_promoted’…
remote: Counting objects: 537929, done.
remote: Total 537929 (delta 0), reused 0 (delta 0), pack-reused 537929 eceiving objects: 100% (537929/537929), 755.41 Mi
Receiving objects: 100% (537929/537929), 755.44 MiB | 63.00 KiB/s, done.

Resolving deltas: 100% (366641/366641), done.
Checking connectivity… done.
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Classes/Specifiers/Don
tAutoCollapseCategories/ClassSpecifier_DontAutoCollapseCategories.INT.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Classes/Specifiers/Don
tAutoCollapseCategories/ClassSpecifier_DontAutoCollapseCategories.JPN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Classes/Specifiers/Don
tAutoCollapseCategories/ClassSpecifier_DontAutoCollapseCategories.KOR.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Functions/Specifiers/B
lueprintAuthorityOnly/FunctionSpecifier_BlueprintAuthorityOnly.CHN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Functions/Specifiers/B
lueprintAuthorityOnly/FunctionSpecifier_BlueprintAuthorityOnly.INT.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Functions/Specifiers/B
lueprintAuthorityOnly/FunctionSpecifier_BlueprintAuthorityOnly.JPN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Functions/Specifiers/B
lueprintAuthorityOnly/FunctionSpecifier_BlueprintAuthorityOnly.KOR.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Functions/Specifiers/B
lueprintImplementableEvent/FunctionSpecifier_BlueprintImplementableEvent.CHN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Functions/Specifiers/B
lueprintImplementableEvent/FunctionSpecifier_BlueprintImplementableEvent.INT.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Functions/Specifiers/B
lueprintImplementableEvent/FunctionSpecifier_BlueprintImplementableEvent.JPN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Functions/Specifiers/B
lueprintImplementableEvent/FunctionSpecifier_BlueprintImplementableEvent.KOR.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/BlueprintInte
rnalUseOnly/FunctionMetadataSpecifier_BlueprintInternalUseOnly.CHN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/BlueprintInte
rnalUseOnly/FunctionMetadataSpecifier_BlueprintInternalUseOnly.INT.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/BlueprintInte
rnalUseOnly/FunctionMetadataSpecifier_BlueprintInternalUseOnly.JPN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/BlueprintInte
rnalUseOnly/FunctionMetadataSpecifier_BlueprintInternalUseOnly.KOR.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/BlueprintSpaw
nableComponent/ClassMetadataSpecifier_BlueprintSpawnableComponent.CHN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/BlueprintSpaw
nableComponent/ClassMetadataSpecifier_BlueprintSpawnableComponent.INT.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/BlueprintSpaw
nableComponent/ClassMetadataSpecifier_BlueprintSpawnableComponent.JPN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/BlueprintSpaw
nableComponent/ClassMetadataSpecifier_BlueprintSpawnableComponent.KOR.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/CannotImpleme
ntInterfaceBlueprint/InterfaceMetadataSpecifier_CannotImplementInterfaceInBlueprint.CHN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/CannotImpleme
ntInterfaceBlueprint/InterfaceMetadataSpecifier_CannotImplementInterfaceInBlueprint.INT.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/CannotImpleme
ntInterfaceBlueprint/InterfaceMetadataSpecifier_CannotImplementInterfaceInBlueprint.JPN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/CannotImpleme
ntInterfaceBlueprint/InterfaceMetadataSpecifier_CannotImplementInterfaceInBlueprint.KOR.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/UnsafeDuringA
ctorConstruction/FunctionMetadataSpecifier_UnsafeDuringActorConstruction.CHN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/UnsafeDuringA
ctorConstruction/FunctionMetadataSpecifier_UnsafeDuringActorConstruction.INT.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/UnsafeDuringA
ctorConstruction/FunctionMetadataSpecifier_UnsafeDuringActorConstruction.JPN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Metadata/UnsafeDuringA
ctorConstruction/FunctionMetadataSpecifier_UnsafeDuringActorConstruction.KOR.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Properties/Specifiers/
AssetRegistrySearchable/PropertySpecifier_AssetRegistrySearchable.CHN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Properties/Specifiers/
AssetRegistrySearchable/PropertySpecifier_AssetRegistrySearchable.INT.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Properties/Specifiers/
AssetRegistrySearchable/PropertySpecifier_AssetRegistrySearchable.JPN.udn (Filename too long)
error: unable to create file Engine/Documentation/Source/Programming/UnrealArchitecture/Reference/Properties/Specifiers/
AssetRegistrySearchable/PropertySpecifier_AssetRegistrySearchable.KOR.udn (Filename too long)
error: unable to create file Engine/Source/Programs/UnrealDocTool/UnrealDocTool/MarkdownSharpTests/MarkdownTests/Doxygen
/xml/struct_f_streaming_manager_texture_1_1_f_pending_primitive_type.xml (Filename too long)
error: unable to create file Engine/Source/Programs/UnrealDocTool/UnrealDocTool/MarkdownSharpTests/MarkdownTests/Include
s/xml/struct_f_streaming_manager_texture_1_1_f_pending_primitive_type.xml (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_64_disable_compact_frame.s.1 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_64_frame.s.2 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_64_frame.s.3 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_64_frame.s.4 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_64_frame.s.5 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_64_frameless.s.6 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_64_frameless.s.7 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_64_frameless_big.s.8 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_64_frameless_big.s.9 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_64_unusual.s.10 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_64_unusual.s.11 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_disable_compact_frame.s.12 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_frame.s.13 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_frame.s.14 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_frame.s.15 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_frame.s.16 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_frameless.s.17 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_frameless.s.18 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_frameless_big.s.19 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_frameless_big.s.20 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_unusual.s.21 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression-bins/tbin.unwind_test_x86_unusual.s.22 (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression/unwind_test_x86_64_disable_compact_frame.s (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression/unwind_test_x86_64_frameless.s (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression/unwind_test_x86_64_frameless_big.s (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression/unwind_test_x86_64_unusual.s (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression/unwind_test_x86_disable_compact_frame.s (Filename too long)
error: unable to create file Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Resources/Tests/PLC
rashAsyncDwarfEncodingTests/regression/unwind_test_x86_frameless_big.s (Filename too long)
fatal: cannot create directory at ‘Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Tools/google-
toolbox-for-mac-trunk-r582/AppKit/GTMHotKeyTextFieldLocalizations’:

Filename too long warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with ‘git status’
and retry the checkout with ‘git checkout -f HEAD’

Hi Skie -

I am sorry to hear that you are experiencing this issue, and I will begin investigation into this as soon as possible. Thanks for your patience.

In the meantime, and for best results, please be sure to review our suggestions for how to report your issues, and feel free to edit your post if you have any additional information to provide:

Thank you -

Eric Ketchum

Hi Skie -

The actual file names in Windows are associated with the full file path, so taking one example of the files, you have a full creation name of:

C:\Users\Andrey\PerforceWorkspace\anvilworkspace\megamaker\master\unreal_engine\Engine\Source\ThirdParty\PLCrashReporter\plcrashreporter-master-5ae3b0a\Resources\Tests\PLCrashAsyncDwarfEncodingTests\regression-bins\tbin.unwind_test_x86_64_frameless_big.s.8

Which if you put into Google Docs or Word and do a Character / Word Count you get a number of 256. Currently in Windows, for an API (The Engine) to create files and path locations you are restricted to MAXPATH 260 Characters - 12 characters or 248 Characters. You will need to remove some of the initial subfolders and you will not have any problems.

Thank You -

Eric Ketchum

Solved. So reducing the folders and renaming them to shorter names worked. Using Word to count characters is a good tip to keep under 260 characters. Please put this error avoidance tip in the main GitHub UnrealEngine page in the instructions section.

I had this problem for a long time.
My friend recommended me Long Path Tool for fixing this.
I am skeptic with this king of tool but I was wrong.
This tool can do anything.

You can downloaded on
You wont regret.

i suggest that you use “Long Path Tool” its an amazing tool google it AND will solve your problem

You can also checkout long path tool, it’s an automated software for this type of errors