# CDO Constructor Failed to find asset

**URL:** <https://forums.unrealengine.com/t/cdo-constructor-failed-to-find-asset/620239>\
**Category:** AI\
**Tags:** unreal-engine, UE5-0, construction-script, question\
**Created:** [August 3, 2022, 2:24am UTC](https://forums.unrealengine.com/t/cdo-constructor-failed-to-find-asset/620239 "2022-08-03T02:24:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![GKoch](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gkoch/32/1075382_2.png) [@GKoch](https://forums.unrealengine.com/u/GKoch)\
**Post date:** [August 3, 2022, 2:24am UTC](https://forums.unrealengine.com/t/cdo-constructor-failed-to-find-asset/620239/1 "2022-08-03T02:24:41Z")

</div>

Constructor helper failed to load asset.

I get the error message:

LogLinker: Warning: Failed to load ‘/Game/GunActorTest’: Can’t find file.  
LogUObjectGlobals: Warning: Failed to find object ‘Actor /Game/GunActorTest.GunActorTest’

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/c/2/3c2c0fa60cc30d1f4e1de73cec981290980c53a2.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/c/7dc2a65b0652824628843f7d764932143c0088e7.jpeg)

I tried testing with an asset in the folder /Game/Vehicles/GunActorTest, it doesn’t recognize it either. I’m confused as to how to use the paths in ConstructorHelpers::FObjectFinder(TEXT(“/Game/GunActorTest”));

is there something I’m doing wrong?

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [August 3, 2022, 4:51am UTC](https://forums.unrealengine.com/t/cdo-constructor-failed-to-find-asset/620239/2 "2022-08-03T04:51:14Z")

</div>

If you right click an asset you can choose “get reference” and it will result in this format:

```auto
WidgetBlueprint'/Game/Blueprints/UI/SomeWidget.SomeWidget'

```

Can you test this in these formats?:

```auto
/Game/Blueprints/UI/SomeWidget.SomeWidget'

WidgetBlueprint'/Game/Blueprints/UI/SomeWidget.SomeWidget'

```

---

<div class="post-metadata">

**Author:** ![GKoch](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gkoch/32/1075382_2.png) [@GKoch](https://forums.unrealengine.com/u/GKoch)\
**Post date:** [August 3, 2022, 11:38pm UTC](https://forums.unrealengine.com/t/cdo-constructor-failed-to-find-asset/620239/3 "2022-08-03T23:38:01Z")

</div>

When I right click and select copy reference i get:

Blueprint’/Game/GunActorTest.GunActorTest’

I tried doing:

TEXT(“Blueprint’/Game /GunActorTest.GunActorTest’”);  
TEXT(“Blueprint/Game /GunActorTest.GunActorTest”);  
TEXT(“/Game /GunActorTest.GunActorTest”);

none of these work.

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [August 4, 2022, 1:58am UTC](https://forums.unrealengine.com/t/cdo-constructor-failed-to-find-asset/620239/4 "2022-08-04T01:58:57Z")

</div>

I’m not sure what is going on then, your example shows a space in “/Game /” which should not be there but I think TEXT(“/Game/GunActorTest.GunActorTest”) should be OK.  
Related:

> [Using ConstructorHelpers::FObjectFinder for UParticleSystem - Solution](https://forums.unrealengine.com/t/using-constructorhelpers-fobjectfinder-for-uparticlesystem-solution/157957)  
> [Reddit - Dive into anything](https://www.reddit.com/r/unrealengine/comments/sritim/loading_skeletal_mesh_in_c_constructor/)

I’m assuming that the asset is referenced, else according to those articles the FObjectFinder may fail. I also assume that the asset is in the project / Content folder and not in a plugin (thinking of a module loading order). It should also not be redirected to another name using a CoreRedirect. Not sure where to go from here

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [January 6, 2023, 4:35pm UTC](https://forums.unrealengine.com/t/cdo-constructor-failed-to-find-asset/620239/5 "2023-01-06T16:35:48Z")

</div>

Ran into this issue myself today and for who knows why, I had to add “\_C” to the end of the reference.

```auto
static ConstructorHelpers::FClassFinder<UMainMenuWidget> MainMenuClassObj(TEXT("/MainMenuPlugin/Blueprints/UI/MainMenu/WBP_MM_MainMenu.WBP_MM_MainMenu_C"));
if (MainMenuClassObj.Succeeded()) {
	MainMenuClass = MainMenuClassObj.Class;
}

```

---

<div class="post-metadata">

**Author:** ![MarkMaratea1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MarkMaratea1](https://forums.unrealengine.com/u/MarkMaratea1)\
**Post date:** [January 8, 2025, 3:15am UTC](https://forums.unrealengine.com/t/cdo-constructor-failed-to-find-asset/620239/7 "2025-01-08T03:15:13Z")

</div>

Thats because you are doing CLASS finder and they are doing OBJECT finder
