The editor tells me “Access violation - code c0000005(first/second chance not available)”, but I’m not getting any errors in VS. It doesn’t matter if I use a USoundWave or USoundCue.
Header:
UAudioComponent* KickAudioComp;
Constructor:
static ConstructorHelpers::FObjectFinder<USoundWave>Kick(TEXT("SoundWave'/Game/Audio/Kick3.Kick3'"));
KickAudioComp->SetSound(Kick.Object);