Muzzle Flash Rotation is Facing wrong way. C++/VFX

I didn’t have this problem and I spawned my emiter like this:

UGameplayStatics::SpawnEmitterAttached(MuzzleFlash, Mesh, TEXT("MuzzleFlashSocket"));