UE4 crashes after i did the changes in ToonTanks (SOLVED)

In vscode I did

// Set this pawn to call Tick() every frame. You can turn this off to improve performance if you don’t need it.
PrimaryActorTick.bCanEverTick = true;

CapsuleComp = CreateDefaultSubobject<UCapsuleComponent>(TEXT("Capsule Collider"));
RootComponent = CapsuleComp;

BaseMesh = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("Base Mesh"));
BaseMesh->SetupAttachment(RootComponent);

TurretMesh = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("Base Mesh"));
TurretMesh->SetupAttachment(BaseMesh);

ProjectileSpawnPoint = CreateDefaultSubobject<USceneComponent>(TEXT("Projectile Spawn Point"));
ProjectileSpawnPoint->SetupAttachment(TurretMesh);

After doing this I compiled in the Unreal Engine and opened the blueprint where nothing was there in my blueprint. I tried compiling again but still nothing came up… I now cannot restart the unreal engine project as now it is crashing … with this error log

These have the same name. They need to be unique.

how can i compile it from vscode then, as engine will not open :frowning: @DanM

Ctrl + Shift + B > ProjectNameEditor Development Build

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms