Packaged game has bugs not found in editor

Hello I packaged my game and I found bugs that were not present while testing in editor. The game was much better in editor.

I packed in the development mode.

  1. The packaged game was not detecting collisions. The object were simply passing inside each other.

  2. I spawn projectile through a subobjectcomponent something like


FRotator SpawnRotation = GetOwner()->GetActorRotation();
GetWorld()->SpawnActor<ABaseProjectile>(NormalProjectileClass, ProjectileSpawnLocation, SpawnRotation);

But in the packaged game, the projectiles were spawning in another direction. These bugs kind of freaked me… Any reason for this?

Yes, another thing… My main character was a pawn and its floating in the air… And there is another actor whose location I set to the main characters location with something like this


void APlayerShieldActor::Tick( float DeltaTime )
{
	Super::Tick( DeltaTime );
	if (GetOwner())
	{
		float OwnerX = GetOwner()->GetActorLocation().X;
		FVector NewLocation = GetActorLocation();
		if (OwnerX > NewLocation.X)
		{
			NewLocation.X = OwnerX;
			SetActorLocation(NewLocation);
		}
	}
}

This actor is like miles ahead of the player.

—Edit--------

Same bugs in the standalone game but not in editor. Is it related to this