# Long Path enabled, but source code unzip/build still failed.

**URL:** <https://forums.unrealengine.com/t/long-path-enabled-but-source-code-unzip-build-still-failed/2692707>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [January 16, 2026, 5:29pm UTC](https://forums.unrealengine.com/t/long-path-enabled-but-source-code-unzip-build-still-failed/2692707 "2026-01-16T17:29:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chahorain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chahorain](https://forums.unrealengine.com/u/Chahorain)\
**Post date:** [January 16, 2026, 5:29pm UTC](https://forums.unrealengine.com/t/long-path-enabled-but-source-code-unzip-build-still-failed/2692707/1 "2026-01-16T17:29:21Z")

</div>

When I use Visual Studio to build source code in win 11, I always fail on a CPP file due to a long path problem. In visual studio it says that cpp file could not be found, but it was there not broken. I already enabled long path in registry and group policy and restarted computer for several times. Why is this happening? When I tried to unzip the source code with win 11 unzip option in right click menu, it also fails due to the long path problem. I tried to use 7zip to solve the problem.

---

<div class="post-metadata">

**Author:** ![Chahorain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chahorain](https://forums.unrealengine.com/u/Chahorain)\
**Post date:** [January 16, 2026, 5:32pm UTC](https://forums.unrealengine.com/t/long-path-enabled-but-source-code-unzip-build-still-failed/2692707/2 "2026-01-16T17:32:28Z")

</div>

What is more confusing, it succeeded once, but after deleting the built source code folder, it never unzip again / build again just because of the long path problem. When I run the setup.bat, there are always three files not being downloaded in the first time, I had to re-run it again to download them. I am not sure if this is relevant, but it is very suspicious.

---

<div class="post-metadata">

**Author:** ![SpecZynk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/speczynk/32/1117840_2.png) [@SpecZynk](https://forums.unrealengine.com/u/SpecZynk)\
**Post date:** [January 20, 2026, 12:28pm UTC](https://forums.unrealengine.com/t/long-path-enabled-but-source-code-unzip-build-still-failed/2692707/3 "2026-01-20T12:28:42Z")

</div>

Hi,

Since it was working before, can you try the following steps?

> [@新規C＋＋クラスを作成ができない](https://forums.unrealengine.com/t/c/2284342/5):
>
> - Close unreal and visual studio;
> - Go to your project folder;
> - Delete the following selected folders and files:
> 
> ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/1/c/81ca1ca7e2cc824f64c68232dc280fc8b9029755.png)
> 
> - Right Click on your `.uproject` and generate your visual studio project file:
> 
> ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/f/54f5d5f3d6c315ed8be2e32465bbeaef5a7710e4.png)
> 
> - Open your project’s solution (`YourProject.sln`);
> - On visual studio press `CTRL + F5`.

If does’t work, post here the `VS Output Log`

---

<div class="post-metadata">

**Author:** ![Mr\_Saif\_999](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_Saif\_999](https://forums.unrealengine.com/u/Mr_Saif_999)\
**Post date:** [February 23, 2026, 5:14pm UTC](https://forums.unrealengine.com/t/long-path-enabled-but-source-code-unzip-build-still-failed/2692707/4 "2026-02-23T17:14:29Z")

</div>

LongPathTool helped me extract and handle deep paths that were breaking the build
