Path too long error

When trying to install UE5 EA inside the Epic Launcher, I’m getting a maximum path length exceeded error which I have never seen with UE4. The path I’m trying to use is D:\Programming\UnrealEngineInstalls\UE_5.0EA

2 Likes

Try with moving the path directly to the root, the Early access build has am extra chunk of text. (UnrealEngine-5.0.0-early-access-1)

Regards

1 Like

Putting at the root D:\UE_5EA works. I was going to try this anyway but wanted to make a post to bring it to Epic’s attention. If anything to add a release note that this may happen, or if it can be fixed.

1 Like

Having a similar issue (Path too long) but on the sample project.

and I get this with the Default path. A folder at the root of C: and a folder at the root of D:

most frustrating :frowning:

any ideas?

1 Like

Same response, change te path to the root

Sadly… Nope… used this path and STILL it was ‘Too long’ !!

1 Like

Someone on FB suggested looking at my ‘Vault Cache’ path.

I changed it to a folder on the root and bingo ‘Valley of the Ancient’ is now installing…

2 Likes

Google. Depending on your Windows 10 edition, you can simply use GPO to edit the path character limitation and enabled or disable that. If you are on Windows Home you will need to use the registry, but it’s not complicated. All the proposed solutions don’t really solve the underlying issue that is Windows default behavior of limiting paths to 260 characters. I use a shorter path than you do and I saw 210+ characters paths. It’s bad form of Epic to use paths with so many characters.

1 Like

Yeah MrTroutButter, yumyum, Yeah it can be a real headache, I tried LongPath Tool Program which helped a lot.

I have long paths enabled in Windows, and even that is not required for the software to actually be able to use paths up to 32768 characters. Do you want me to show you how to fix this problem in your code, free of charge? Hint: don’t use MAX_PATH.

OK, so how do we do it, enable it?

https://learn.microsoft.com/en-us/answers/questions/1805411/how-to-enable-long-file-path-names-in-windows-11

Hello,

Thank you for posting in Microsoft Q&A.

Based on the description, I understand your question is related to enable long file path names.

Type regedit into the Run dialog and hit Enter to open the Registry Editor, Navigate to the FileSystem Key:

In the Registry Editor, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.

This path takes you to the FileSystem key, where you can modify settings related to file systems.

Modify the LongPathsEnabled Value:

Find the LongPathsEnabled entry, double-click it, and set its value to 1.

Changing this value may allow Windows to handle file paths longer than 260 characters.

Close the Registry Editor and Restart:

Close the Registry Editor and restart your computer to apply the changes.

Have a nice day.

Best Regards,

Molly

============================================