OSX Client does not connect to Linux Server

  1. Git cloned to Windows with Windows and Linux Client as well as Linux Server built with unmodified source code.
  2. Git cloned to OSX with OSX Client built with unmodified source code.
  3. Windows/Linux client have no issue connecting but OSX client cannot.

Build/Cook on OSX Log

Run on OSX Log

Were Linux server and client cross-compiled or built natively?

Cross-compiled on Windows

Then it looks like the same problem with GUIDs being generated differently across platforms. Compare *.generated.cpp files on Windows (they will be shared between Linux and Windows builds) and Mac, particularly ones that correspond to mismatched packages - grep for FGuid.

This is in our generated.cpp which contains the classes which the mismatch is referring to.

NIX

FGuid Guid;
Guid.A = 0xE105D02F;
Guid.B = 0x224EB91D;
Guid.C = 0x00000000;
Guid.D = 0x00000000;
ReturnPackage->SetGuid(Guid);

WIN

FGuid Guid;
Guid.A = 0xE105D02F;
Guid.B = 0x224EB91D;
Guid.C = 0x00000000;
Guid.D = 0x00000000;
ReturnPackage->SetGuid(Guid);

OSX

FGuid Guid;
Guid.A = 0xE105D02F;
Guid.B = 0x224EB91D;
Guid.C = 0x00000000;
Guid.D = 0x00000000;
ReturnPackage->SetGuid(Guid);

Let me know if there are other files I should check, but Quasar.generated.cpp is the only one specific to our game.

Hey overlawled-

I’m not sure I fully understand what you’re describing. Could you go into further detail about your setup and what is is happening? From my understanding you are able to build the engine from source for Windows, Linux, and Mac however only the Windows and Linux builds are able to connect a dedicated Linux server?

Cheers

That’s right . Same git revision, and as you can see above same GUID but when the Mac client connects it’s told the Package GUID doesn’t match.

How was the Linux server setup? Did you build the Linux server on the windows machine or the Linux machine?

EDIT: Can you also see if you have the same problems connecting with the Mac if you are connecting to a Windows-server rather than a Linux-server?

Linux server built on the Windows machine, yep.

Will give OSX->Windows a try.

Log from connection OSX->Windows below.

link text

Looking at the last log that you posted I see a “connection to the host has been lost.” This was when trying to connect the Mac client to a Window’s server, correct? Is that the same error message you were getting trying to connect the Mac client to the Linux server?

It is, yeah

Hey overlawled-

Can you try creating a fresh code project and package it on Windows and Mac separately, then try connecting from Mac to Windows and see if you have the same connection issues?

Do you mean a blank project?

Yes, a blank project would work.

Hey overlawled-

I’ve not heard back from you in a few days. Let me know if you were able to create a new project and package it for both Windows and Mac and successfully connect server/client or if you received the same connection error mentioned originally.

Cheers

Turns out it was our build environment. This is solved now.

What was the culprit, out of curiosity?