When trying to setup a DataTable that would house a Content Reference to a Paper2D Sprite, I ran into an issue with TAssetPtr not recognizing the UPaperSprite type. Here’s the error message I was getting:
Unrecognized type 'UPaperSprite' (in expression TAssetPtr<UPaperSprite>) - type must be a UCLASS
I’m able to get the Content Reference to work in the DataTable by making the TAssetPtr use UObject (TAssetPtr< UObject >), but then I have to cast the resolved Asset ID from an Object to a Paper2DSprite each time I want to get the Paper2D Sprite out of the DataTable.
The documentation says UPaperSprite is a UCLASS (see: https://docs.unrealengine.com/latest/INT/API/Plugins/Paper2D/UPaperSprite/index.html).
Is there a reason UPaperSprite isn’t accepted by TAssetPtr?