Update from Unreal Engine 4.14 to 4.15

We wanted to upgrade our C++ Paper2D project from version 4.14 to  4.15 and we had some compile errors. Visual Studio complained that, it can’t find some C++ Paper2D related classes which are currently used in our project.

We received the following error:

  • Severity Code Description Project File Line Suppression State
    Error C2664 ‘void ConstructorHelpers::ValidateObject(UObject *,const FString &,const TCHAR *)’: cannot convert argument 1 from ‘UPaperFlipbook *’ to ‘UObject *’

If you check the this line of code, thrown by VS, you discover that this error is given by a template class in ConstructorHelpers.h. In short, the engine doesn’t have a clue about this class, to convert it, it means that an include file is missing in our project.

To solve it, we just added this include #include “Paper2DClasses.h” in the main header from the project( name of your project.h)


That’s all 🙂

You may also like