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
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
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-7578 in the post.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.6.1, 4.7 |
Target Fix | 4.8 |
Fix Commit | 2481488 |
---|
Created | Jan 14, 2015 |
---|---|
Resolved | Mar 23, 2015 |
Updated | Feb 5, 2017 |