OtherCompilationError(5) - Unrecognized type UChildActorComponent

Hello,

I got the above error message when I tried to compile my project. I have read over some of the other posts about how to fix this message, such as regenerating the ‘Intermediate’ folder, but it then gave the error below:

CompilerResultsLog: Info C:/Program Files (x86)/Epic Games/4.12/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h(461) : Unrecognized type 'UChildActorComponent' (in expression TWeakObjectPtr) - type must be a UCLASS

Is there any way to tweak the Actor.h class manually so it works or do I have to re-download all or parts of the classes?

Hello ViolinRobot,

The OtherCompliationError message always means that you can get more information on what actually happened in the Output log. It’s just a generic error message for when there isn’t an error message for that particular problem.

As for the issue you’re running into now, this is most likely not an issue with the Actor class but something that you may of set up incorrectly. Could you provide the code for where this error is occurring?

We haven’t heard from you in a while, ViolinRobot. Are you still experiencing this issue? If so, was my last comment of any assistance? In the meantime, I’ll be marking this issue as resolved for tracking purposes.