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”));
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:
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