I have a 2-player game that I would like to test in PIE. I start my PIE and load the map using console command: “open testmap?listen” The map loads fine for me. Then my colleague opens his PIE and attempts to connect to my listen server with command “open 172.16.31.57”. The map loads for him and I get this in my output log:
Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes.
If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, please submit a new report for it.
Hi, I believe I have the same question and as far as I can tell the original poster is trying to:
Run two SEPARATE PIE instances (i.e. on separate PCs)
One instance runs as a listen server, the other runs as a client
Client PIE connects to the listen server PIE
Connection is rejected.
If I’m not mistaken, the client side the log will include "PIE: Warning: TravelFailure: LoadMapFailure, Reason for Failure: ‘Failed to load package ‘/Game/Maps/UEDPIE_0_testmap.testmap’’. Shutting down PIE."
I am aware that you can run a listen server in PIE by using the PLAY options and setting the number of players. However, for my game I need to customize the connection flow in more detail, so it’s important that I can inspect both the (listen) server and client via the editor. I am also aware that you can debug Dedicated Servers via Visual Studio, but I’m desperately hoping for the PIE debugging option as well.
Is this not possible with UE4? I’ve spent three days scouring and trying different “run with cooked content” tips for the Editor but ultimately got blocked by the above error message (i.e. failed to load the UEDPIExxxx map).
Connecting separate PIE instances across machines is not a supported feature of the engine. If you are trying to test connecting from one machine to another, you would need to first package the game and use the packaged .exe on both machines. Enabling the “Run Dedicated Server” checkbox will also allow you to test connecting a client (play window) to a dedicated server in PIE. You can check out this documentation page for more info on testing network connections / network play: Networked Play In Editor | Unreal Engine Documentation