fatal error C1083: cannot open SharedPCH file in Unreal Engine

When a C++ project is built for packaging, the compiler needs shared precompiled headers (SharedPCH). If the project path contains non-ASCII characters, or sits in a OneDrive-synced folder, the path can be garbled or locked and the compiler cannot open those files.

  • Blocking: the package fails
  • Build stage: UnrealBuildTool, ExitCode=8
  • From user reports, not yet reproduced in our lab

Paste your log: find the cause in seconds Runs in your browser, nothing is uploaded.

Common causes

  • Non-ASCII characters (accents, Cyrillic, CJK) in the user name or project path.
  • The project is inside a OneDrive (or other sync tool) folder.

How to fix it

  1. Move the project to a short ASCII-only path outside synced folders, for example D:\Projects\MyProject.
  2. Delete the Binaries and Intermediate folders, regenerate project files, and build again.
  3. If the engine itself is under a non-ASCII path, move it too.

Questions

Can it be caught before cooking?

Yes, it can be checked before you start a cook: Flag non-ASCII characters and OneDrive/sync folders in project and engine paths.

Reports and sources

Decode your log

Paste your packaging log, or drop Log.txt with Cook-*.txt / UBA-*.txt. The analysis runs in your browser: the log is never uploaded.

Get notified when the in-editor plugin launches

The same decoder inside the Unreal Editor, with checks that catch these errors before you cook.