Description

Adding the C++ Vehicle feature pack to a project fails to compile with the following error:

CompilerResultsLog: Info Error: Couldn't find parent type for 'TP_VehiclePawn' named 'AWheeledVehicle' in current module or any other module parsed so far.
CompilerResultsLog:Error: Error D:/MyProjects/MyProject5/Source/MyProject5/TP_Vehicle/TP_VehiclePawn.h(11)  : Error: Class 'AWheeledVehicle' not found.

This does not affect the BP Vehicle or VehicleAdvanced feature pack.

This is a regression from 4.14.3 at CL 3251583

Steps to Reproduce
  1. Create a blank project with no starter content
  2. Click on the Add New button in the Content Browser and select Add Feature or Content Pack
  3. Select the C++ Vehicle Feature pack and click Add to Project
  4. Click No to editing the source code

Result: Code fails to compile

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.15
Target Fix4.15
Fix Commit3257654
Main Commit3389599
Release Commit3257654
CreatedJan 11, 2017
ResolvedJan 13, 2017
UpdatedApr 27, 2018