When adding a C++ component based off Camera Component to the vehicle BP in the C++ Vehicle template, the code will fail to compile.

Error message:
D:\Epic Games\4.11\Engine\Source\Runtime\Engine\Classes\Camera/CameraTypes.h(93): error C2065: 'WORLD_MAX': undeclared identifier

Regression?: NO
This issue also occurs in 4.11.2

Steps to Reproduce
  1. Create a new C++ project based off the Vehicle template
  2. Select the Vehicle BP
  3. In the details panel, add a new component > Add C++ Component > Camera Component
    Result: The compilation fails with the error message in the description
    Expected: The compilation shouldn't fail

Have Comments or More Details?

Head over to the existing AnswerHub thread and let us know what's up.

Login to Vote

ComponentDocs - Samples
Affects Versions4.114.124.13
Target Fix4.13
Fix Commit3018907
Main Commit3021299
CreatedJun 14, 2016
ResolvedJun 18, 2016
UpdatedApr 27, 2018