Download

UGameplayStatics::SpawnSoundAttached': none of the 2 overloads could convert all the argument types

ok I have this issue with SpawnSoundAttached

error
UGameplayStatics::SpawnSoundAttached’: none of the 2 overloads could convert all the argument types

code UGameplayStatics::SpawnSoundAttached(SoundToPlay, MyPawn->GetRootComponent());

UGameplayStatics::SpawnSoundAttached(SoundToPlay, MyPawn->GetRootComponent());

My pawn = my char