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"

4.8.0 p3: default pawns don't spawn on clients after seamless ServerTravel

Is this a bug?

If it's not a bug, how in the world do i make them spawn? StartMatch also doesn't spawn the default pawns.

P.S.: if i need to spawn manually after a servertravel, what event do i need to put the command in, OnPostSeamlessTravel or something (which isn't exposed to blueprints though)?

Product Version: UE 4.8 Preview
Tags:
more ▼

asked May 25 '15 at 07:39 PM in Bug Reports

avatar image

Calamus056
11 1 4 8

avatar image Calamus056 May 26 '15 at 03:49 PM

UPDATE:

After some debugging i found out that clients don't seem have a connection with the server anymore after successfully changing the level with ServerTravel, EVEN WITH "Use Seamless Travel" checked on the GameMode.

avatar image Calamus056 May 26 '15 at 06:25 PM

UPDATE 2:

Below is the log from the exact moment of executing ServerTravel:

log file

servertravel.txt (8.7 kB)
avatar image Calamus056 May 26 '15 at 07:40 PM

OK, it's a confirmed BUG with multiplayer simulation in single process PIE.

Temporary workaround (as suggested on other threads) is to disable "Use Single Process" under PLAY > advanced options > multiplayer and also change "Editor Multiplayer Mode" to "Play As Client".

Any ETA on this bugfix?

avatar image Ben Halliday STAFF May 26 '15 at 09:30 PM

Hi Calamus056,

I haven't seen this bug in particular before except with the ShooterGame sample. Are you seeing this in your own project? Does it only occur during PIE, or in packaged games as well? Can you reproduce it in a new project? If so, it might be helpful if you could upload a small test project that reproduces this behavior and get us a download link so we can take a look. Thanks!

Additionally, you mention this is a confirmed bug. If you've seen this mentioned elsewhere with a bug report number, can you link that as well? I wasn't able to find one internally when I looked for it.

avatar image Calamus056 May 26 '15 at 11:24 PM

Hi Ben,

Thanks for replying!

To answer your questions:

  1. As far as i know it's only during PIE (and ONLY with a single process). I haven't confirmed myself that it works in packaged games, but it does work in multiple processes in PIE like i mentioned.

  2. Example project to see it for yourself. Extract first, don't run directly. If you have any trouble running it let me know.

  3. The bug report numbers i could find are: UE-11271, UE-11391, UE-13111 and UE-3187. Funny enough you mentioned them all in this post

seamlesstravel.zip (998.1 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Those are all crash bugs involving Seamless Travel, and don't specifically involve Clients not joining the Server during ServerTravel.

PIE itself isn't able to emulate networking correctly, so I tested this in a packaged game (adding some simple create, find, and join session functionality in Blueprints), and in that case it worked fine. For testing in editor, I think your solution of running with Use Single Process disabled should be fine.

Hope that helps!

more ▼

answered May 27 '15 at 06:07 PM

avatar image Calamus056 May 27 '15 at 07:34 PM

Are there plans to make it work in PIE single process in the future? The current functionality is not user friendly for people that are new to Unreal Engine (networking). I mean i am somewhat experienced with the engine and it took me a few days to figure out the problem so i think it really should be looked at in the future (if it's technically possible).

Anyway, thanks for your effort Ben!

avatar image Ben Halliday STAFF May 27 '15 at 07:38 PM

I have let the networking team know, and they may have me enter a report for it (if there isn't one already). I will update this post if I do.

avatar image Muzaheed Nov 12 '16 at 04:20 PM

any news of seemless travel In PIE?

avatar image EvoPulseGaming May 23 '19 at 01:48 AM

If you override "CanServerTravel" to true when it checks for "in pie" to true, it works in non-multiplayer aspects. Its nice for easy testing of single player related functions. (its in gamemodebase)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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