x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

ProjectName.h.pch is not a valid precompiled header

Whenever I try to build my project for 64-bit or launch I get this error:

 D:\Documents\Unreal Projects\MegaRisk\Source\MegaRisk\Online\MegaRiskGameSession.cpp: fatal error C1852: 'D:\Documents\Unreal Projects\MegaRisk\Intermediate\Build\Win64\MegaRisk\Development\MegaRisk\MegaRisk.h.pch' is not a valid precompiled header file

I can package for 32-bit just fine, but anything else and I get this. It happens for every single source file in my project.

Also, the executable I get form 32-bit packaging will only show a black screen when run.

Product Version: UE 4.12
Tags:
more ▼

asked Sep 12 '16 at 12:55 AM in C++ Programming

avatar image

MrShmid
47 16 15 19

avatar image MrShmid Sep 15 '16 at 01:44 AM

bump please

avatar image Stunt Thumper Sep 23 '16 at 08:22 PM

Bump.....

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Can I get a bump?

more ▼

answered Oct 13 '16 at 02:55 AM

avatar image

MrShmid
47 16 15 19

avatar image MrShmid Oct 15 '16 at 07:29 PM

Hello? Anyone?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Just had it as well in 4.18.1. I was trying to solve this problem: https://answers.unrealengine.com/questions/730763/object-finder-cannot-convert-ustaticmesh-to-uobjec.html and after outcommenting the problematic parts the compiler threw this one instead... I highly suspect a UE4 bug.

I solved (this particular problem) by deleting the Binary and Intermediate folders and regenerating the Visual Studio files. Of course I risk other random compiler errors but it solved this one.

4.18 is the most unstable release for me personally since 4.7. I'm considering downgrading.

more ▼

answered Nov 30 '17 at 12:09 PM

avatar image

Napoleonite
590 90 104 154

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question