UParticleSystemComponent details not showing in blueprint

In the projectile blueprint no details show whatsoever for the Particle System Components

CollisionMesh = CreateDefaultSubobject<UStaticMeshComponent>(FName("Projectile Mesh"));
if (ensure(CollisionMesh != nullptr))
{
	SetRootComponent(CollisionMesh);
	CollisionMesh->SetNotifyRigidBodyCollision(true);
	CollisionMesh->SetVisibility(true);

	CollisionMesh->OnComponentHit.AddDynamic(this, &AProjectile::OnHit);
}

LaunchBlast = CreateDefaultSubobject<UParticleSystemComponent>(FName("Launch Blast"));
if (ensure(LaunchBlast != nullptr))
{
	LaunchBlast->AttachToComponent(RootComponent, 
            FAttachmentTransformRules::KeepRelativeTransform);
}

ImpactBlast = CreateDefaultSubobject<UParticleSystemComponent>(FName("Impact Blast"));
if (ensure(ImpactBlast != nullptr))
{
	ImpactBlast->AttachToComponent(RootComponent, 
            FAttachmentTransformRules::KeepRelativeTransform);
	ImpactBlast->SetAutoActivate(false);
}

ProjectileMovementComponent = CreateDefaultSubobject<UProjectileMovementComponent> (FName("Projectile Movement"));
if (ensure(ProjectileMovementComponent != nullptr))
{
	ProjectileMovementComponent->SetAutoActivate(false);
}

Really weird, I have change to EditAnywhere, EditDefaultsOnly, VisibleAnywhere, cleaned and rebuilt in VS and upgraded to engine 4.23, no change, really weird…

Comment out the UPROPERTY, compile, uncomment, compile.

1 Like

Privacy & Terms