# Cannot open SharedPCH.UnrealEd.Project.ValApi.Cpp20.h.pch

**URL:** <https://forums.unrealengine.com/t/cannot-open-sharedpch-unrealed-project-valapi-cpp20-h-pch/2431247>\
**Category:** C++\
**Tags:** unreal-engine, crash, CPP, question\
**Created:** [March 31, 2025, 6:58am UTC](https://forums.unrealengine.com/t/cannot-open-sharedpch-unrealed-project-valapi-cpp20-h-pch/2431247 "2025-03-31T06:58:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angius](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/angius/32/465528_2.png) [@Angius](https://forums.unrealengine.com/u/Angius)\
**Post date:** [March 31, 2025, 6:58am UTC](https://forums.unrealengine.com/t/cannot-open-sharedpch-unrealed-project-valapi-cpp20-h-pch/2431247/1 "2025-03-31T06:58:09Z")

</div>

Out of nowhere, my project stopped compiling today. I tried rolling back to earlier commits, running Rider as admin, installed older versions of .NET, nothing works and I’m at my wit’s end…

```
0>#19 15/92: SharedPCH.UnrealEd.Project.ValApi.Cpp20.cpp @ 2s
0>ERROR: Task failed with exit code: 2
0>SharedPCH.UnrealEd.Project.ValApi.Cpp20.cpp"
0>c1xx: Error C1083 : Can't open file intermediate compiler: '"F:\Unreal Projects\Metroidvania\Intermediate\Build\Win64\x64\MetroidvaniaEditor\Development\UnrealEd\SharedPCH.UnrealEd.Project.ValApi.Cpp20.h.pch"': Invalid argument
0>Cache statistic: hit 0 of 0 (0 %), remote 0, read 0, write 0, total 0
0>ERROR: Error : Build failed
0>Total time in XGE executor: 2.83 seconds
0>Total execution time: 7.55 seconds

```

And, indeed, the file is just… not there.

```
MetroidvaniaEditor\Development\UnrealEd on  HEAD (311f2d9) via C 
❯ ls -name       
SharedDefinitions.UnrealEd.Cpp20.h
SharedDefinitions.UnrealEd.Project.ValApi.Cpp20.h
SharedDefinitions.UnrealEd.RTTI.Cpp20.h
SharedPCH.UnrealEd.Cpp20.cpp
SharedPCH.UnrealEd.Cpp20.h
SharedPCH.UnrealEd.Cpp20.h.obj.rsp
SharedPCH.UnrealEd.Project.ValApi.Cpp20.cpp
SharedPCH.UnrealEd.Project.ValApi.Cpp20.h
SharedPCH.UnrealEd.Project.ValApi.Cpp20.h.dep.json
SharedPCH.UnrealEd.Project.ValApi.Cpp20.h.obj.rsp
SharedPCH.UnrealEd.Project.ValApi.Cpp20.h.sarif
SharedPCH.UnrealEd.RTTI.Cpp20.cpp
SharedPCH.UnrealEd.RTTI.Cpp20.h
SharedPCH.UnrealEd.RTTI.Cpp20.h.obj.rsp

```

All sorts of other files are, but not the `.pch` one

---

<div class="post-metadata">

**Author:** ![Angius](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/angius/32/465528_2.png) [@Angius](https://forums.unrealengine.com/u/Angius)\
**Post date:** [March 31, 2025, 7:22am UTC](https://forums.unrealengine.com/t/cannot-open-sharedpch-unrealed-project-valapi-cpp20-h-pch/2431247/2 "2025-03-31T07:22:11Z")

</div>

Seems it was Octobuild at fault. Uninstallin it makes the project compile just fine.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [April 30, 2025, 7:22am UTC](https://forums.unrealengine.com/t/cannot-open-sharedpch-unrealed-project-valapi-cpp20-h-pch/2431247/3 "2025-04-30T07:22:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
