x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[Closed] How do I setup a pawn to spawn with a Network game?

Whenever I try to start a game (in this case the FPS Template) with multiple clients the additional clients fail to spawn and I get the warning:

"LogGameMode:Warning: Couldn't spawn Pawn of type MyCharacter_C at PlayerStart"

According to the documentation/source code https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/GameFramework/AGameMode/SpawnDefaultPawnFor/in this happens if SpawnActor fails. However, I can't figure out the actual cause of it (no log entries).

APawn* ResultPawn = GetWorld()->SpawnActor<APawn>(GetDefaultPawnClassForController(NewPlayer), StartLocation, StartRotation, SpawnInfo );

 if ( ResultPawn == NULL )
 {
     UE_LOG(LogGameMode, Warning, TEXT("Couldn't spawn Pawn of type %s at %s"), *GetNameSafe(DefaultPawnClass), *StartSpot->GetName());
 }

Product Version: Not Selected
Tags:
more ▼

asked Apr 13 '14 at 11:18 PM in Everything Else

avatar image

KlausT
123 9 11 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The question has been closed Apr 25 '14 at 06:10 PM by Tim Hobson for the following reason:

Duplicate Question


1 answer: sort voted first
more ▼

answered Apr 17 '14 at 01:07 AM

avatar image

KlausT
123 9 11 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question