Guid Seralization?

Options
traiden
traiden
edited March 2014 in Photon Server
I've been following a tutorial which requires the serialization of a Guid in a message in order to transmit some data.

The serialization was failing in Photon, however I saw there were some old comments about Guids being able to be serialized across networks automatically.

Has this been removed from Photon? Is this no longer a supported serialization type?

I got around the problem by converting the Guid to a byte array before transmitting it.

Comments

  • Tobias
    Options
    GUIDs are a bit tricky, as not all clients have that type, so we didn't implement this as type.
    Ad the clients don't really need the GUID, they simply get those as byte[] and ignore the "meaning".

    Using a byte[] is actually best.