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. 

Client pawn not getting possessed locally// begin play's not being fired

We have a multiplayer bug which only happens in shipping builds :

When a client has connected, only the server version of it's pawn and controller fires beginplay and it seem like the client pawn isn't possessed correctly(only the replicated client version), because it doesn't jump to the playerpawns camera.

On the server the both the construction scripts, beginplay and other are fired in player pawn, controller, state and the pawn is possessed. The replicated client versions of these on the other hand only fire their construction script, not any begin play events and as mentioned above, the controller possession of the client isn't happening.

This works fine in standalone mode or build for development, but fails in a shipping build.

Anyone has experienced something similar or have any ideas of what it might be?

Notes:

  • We test this online through Steam, but they seem to connect just fine and both join the map, so we think it must be somewhere in the Unreal Multiplayer initialization.

  • This is at first connection, so no seamless travel is involved

  • We have only experienced this after 4.16

Product Version: UE 4.16
Tags:
more ▼

asked Aug 24 '17 at 04:21 PM in Everything Else

avatar image

Vejgaard
55 6 9 14

avatar image Vejgaard Aug 25 '17 at 07:35 AM

After looking through the flow, i can now see that it is only the servers playerpawn that is being constructed on the client, so there is not replication of the clients playerpawn and also no replication of the game state.

avatar image Atomik17 Dec 05 '17 at 02:09 PM

Hello, it's been a while but, do you remember what caused this issue ? I encounter a fairly similar case, I simplified the code to be sure it's not something on my side, but still, it looks like the GameState doesn't replicate on the client side, and cause the client Controller to not fire its BeginPlay event.

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

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

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

Answers to this question