Announcement

Collapse
No announcement yet.

How should you format a file path being referenced?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How should you format a file path being referenced?

    I'm trying to use constructorHelpers FObjectFinder but I think I'm not giving my filepath correctly
    Here's my path:
    an image of the path to a mesh

    I've tried referencing it like this:
    Code:
    static ConstructorHelpers::FObjectFinder<UStaticMesh> CubeAsset(TEXT("Geometry/Meshes/1M_Cube.uasset"));
    and I just get an error saying it cant find the mesh I've given, I've also tried giving the full path, with forward slashes and backward slashes.

    Could anyone link me or explain to me how I should be formatting this?
Working...
X