# Asset reference

**URL:** <https://forums.unrealengine.com/t/asset-reference/279226>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [April 1, 2014, 1:29am UTC](https://forums.unrealengine.com/t/asset-reference/279226 "2014-04-01T01:29:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Larraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Larraz](https://forums.unrealengine.com/u/Larraz)\
**Post date:** [April 1, 2014, 1:29am UTC](https://forums.unrealengine.com/t/asset-reference/279226/1 "2014-04-01T01:29:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_482d02a4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_482d02a4](https://forums.unrealengine.com/u/anonymous_user_482d02a4)\
**Post date:** [December 27, 2014, 4:34pm UTC](https://forums.unrealengine.com/t/asset-reference/279226/2 "2014-12-27T16:34:40Z")

</div>

here you go 🙂

what you want is:

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

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...
