I have about a few assets I load here, and all of them fail to load. What am I doing wrong? Here’s the code:
static ConstructorHelpers::FObjectFinder CurvePath(TEXT("/Engine/Content/EngineSky/C_Sky_Horizon_Color"));
mHorizonColorCurve = CurvePath.Object;
static ConstructorHelpers::FObjectFinder<UCurveLinearColor> ZenithCurvePath(TEXT("/Engine/Content/EngineSky/C_Sky_Zenith_Color"));
mZenithColorCurve = ZenithCurvePath.Object;
static ConstructorHelpers::FObjectFinder<UCurveLinearColor> CloudCurvePath(TEXT("/Engine/Content/EngineSky/C_Sky_Cloud_Color"));
mCloudColorCurve = CloudCurvePath.Object;
static ConstructorHelpers::FObjectFinder<UMaterial> Material(TEXT("/Engine/Content/EngineSky/M_Sky_Panning_Clouds2"));
mSkyMaterial = UMaterialInstanceDynamic::Create(Material.Object, mSkySphereMesh);