anybody else having an issue where they cannot set their skeletalmeshes in c++?
UPROPERTY(EditAnywhere)
USkeletalMesh *mesh;
mesh = CreateDefaultSubobject<USkeletalMesh>(TEXT(“Mesh”));
this causes a crash! why??
anybody else having an issue where they cannot set their skeletalmeshes in c++?
UPROPERTY(EditAnywhere)
USkeletalMesh *mesh;
mesh = CreateDefaultSubobject<USkeletalMesh>(TEXT(“Mesh”));
this causes a crash! why??
bump please
I think what you are looking for is
USkeletalMeshComponent
not
USkeletalMesh
.
I figured it out im retarded lol