Proper way to package to device with client/server project
I think I need help in determining the correct way to package to devices. I feel like I've tried all the ways and permutations I can think of. I've also searched and read all online material on the subject. I've been stuck for a few weeks, so time to ask the experts.
I am trying to run from a device as a client and connect to a dedicated server. I am able to package, deploy and run to IOS and android from Mac or PC. I am able to connect to my server (DebugGame Server - Win64). But then the device/client immediately disconnects with an error...
LogNet:Warning: Travel Failure: [PackageMissing]:
In looking at the core code, this error seems to be thrown when the engine cannot find the map locally. In otherwords, UEngine::MakeSureMapNameIsValid(Context.PendingNetGame->URL.Map) returns false in the TickWorldTravel function...
Here are my client/server logs and config files
My Android client is built from visual studio with (DebugGame Client - Android) My Windows server is build and launched with (DebugGame Server - Win64)
Note, I do not get this error when I run from a client on PC (DebugGame Client - Win64)
Again, I think it must be my setup which causes the map to not be packaged/cooked to the client correctly?
Any help would be appreciated.
I finally found what was happening with my particular situation. As I initially thought, it was related to how I was setting things up.
Recently, I was running a dedicated server via the Editor. I was then connecting a client through the editor to validate that everything is working. I then tried to connect to the same server from my devices. This apparently is not possible because the editor does not respect the map paths that are set in the project options and uses a temporary directory instead.
I since started building a dedicated server and running it from VS or cmd line. That server provided the correct map to the device and things started working
answered Mar 21 '16 at 04:15 PM
Yes, I have been able to run a standalone on the device. It seams to load fine. However, it will not do much because I rely on most of my data from the server. The game will just remain idle on a black screen. But I am sure that it is running and loading things correctly.
answered Mar 04 '16 at 06:35 PM
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.
answered Mar 21 '16 at 02:14 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here