Asset reference

Hi, i made a class that draw a texture over the screen using Canvas, works fine but to get the Utexture i use the FObjectFinder and says that doesnt work out of the constructor of the class, there is another way to get a asset reference out of the constructor??

Thanks

here you go :slight_smile:

what you want is:

return Cast(StaticLoadObject( ObjClass::StaticClass(), NULL,*Path.ToString()));