C++ projects are failing to compile when attempting to skip conversion from an older version of the engine.

Error Message:

C:\Users\laz.matech\Documents\Unreal Projects\MyProject4Test\Intermediate\Build\Win64\UE4Editor\Inc\MyProject4Test\MyProject4TestCharacter.generated.h(8): fatal error C1083: Cannot open include file: 'ObjectBase.h': No such file or directory

Note: This only happens with C++ project Skip conversion. I tested the convert-in-place, Open a copy, and skip conversion in both C++ and blueprint projects and this error is only occurring in C++ Skip Conversion.

This was working in our last regression pass Main CL 3149070 so this is a regression

Steps to Reproduce
  1. Create a C++ Project in last public release of engine (4.13.1). Name the project MyCodeProject
  2. Close the editor
  3. Open current version of the editor (4.14)
  4. Select MyCodeProject (Should be dimmed withengine version (4.13.1) on the bottom right of the thumbnail)
  5. Message window pops up, Select More Options > Skip Conversion
  6. Select Yes to rebuild Modules

Result: An error message pops up stating that "The project could not be compiled. Try rebuilding them manually."

Expected: The project compiles and loads the editor cleanly.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-37668 in the post.

Login to Vote

Won't Fix
CreatedOct 21, 2016
ResolvedOct 24, 2016
UpdatedApr 27, 2018