Second client won't join game

Im playing around with the ShooterGame example, and ran into an issue I havnt been able to figure out. I added some vairiables to the ShooterMovementComponent class, and I would like to display them in the HUD. So I added a reference to the extended movement class in DrawHUD():



UShooterCharacterMovement* MoveComp = Cast<UShooterCharacterMovement>(MyPawn->GetMovementComponent());


In the dedicated server with one client mode, this works fine. But when I change it to two clients, one client works, and the other client wont join the game. WHen I stop the project, there’s a hard crash at that line of code. Any ideas?

Please post this question to the Answer Hub: https://answers.unrealengine.com/
and include a link back to this post.

Thanks