Developer Notes

Is Duplicated by UE-11908 Duplicate of UE-8578

Description

User fails to compile code template after adding AIController code to project.

Regression: Not a regression happens in 4.6.1 CL-2386410

Setting up Mono
Building MyProjectEditor...
Compiling game modules for hot reload
Compiling with Mac SDK 10.10
Parsing headers for MyProjectEditor
/Users/Andrew.Porter/Documents/Unreal Projects/MyProject/Source/MyProject/MyAIController.h(11) : Error: Superclass AIController of class MyAIController not found
Error: Failed to generate code for MyProjectEditor - error code: OtherCompilationError (2)
UnrealHeaderTool failed for target 'MyProjectEditor' (platform: Mac, module info: /Users/Andrew.Porter/Documents/Unreal Projects/MyProject/Intermediate/Build/Mac/MyProjectEditor/DebugGame/UnrealHeaderTool.manifest).
Command /Users/Shared/UnrealEngine/4.7/Engine/Build/BatchFiles/Mac/RocketBuild.sh failed with exit code 2

Steps to Reproduce

1. Open UE4Editor.exe
2. Create a new basic code project
3. File > Add Code to project
3. Check show all classes
4. Search for and select AIController
5. Select Next
6. Select Create Class
7. Select Yes when prompted to edit code now.
8. Build in development editor

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-7578 in the post.

0
Login to Vote

Duplicate
ComponentCore
Affects Versions4.6.14.7
Target Fix4.8
Fix Commit2481488
CreatedJan 14, 2015
ResolvedMar 23, 2015
UpdatedFeb 5, 2017