If ConstructorHelpers::FObjectFinder is used with UPaperFlipbook as its class specifier, compiling the code fails with the following error:
Error C2664 'void ConstructorHelpers::ValidateObject(UObject *,const FString &,const TCHAR *)': cannot convert argument 1 from 'UPaperFlipbook *' to 'UObject *'
Regression?: Yes
This did not occur in 4.14.3-3249277+++UE4+Release-4.14
This does occur in 4.15.0-3299760+++UE4+Release-4.15
static ConstructorHelpers::FObjectFinder<UPaperFlipbook> IdleAnimationObj(TEXT("/Game/2dSideScroller/Sprites/IdleAnimation.IdleAnimation"));
Head over to the existing Questions & Answers thread and let us know what's up.
1 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.15, 4.16 |
Created | Feb 21, 2017 |
---|---|
Resolved | Feb 21, 2017 |
Updated | Jul 14, 2021 |