Does teleporting deserialize creature state correct?
As I am playing with adding more genetic manipulation code to my next version (got some ideas for evolutionary learning), I would like to make sure the serialization code works. In Asgard1.7, I did pass quite a few pieces of information during teleporting. But it appears that none of the information got deserialized correctly. There should not be any problem with my serialization/deserialization code because when the creatures are saved/loaded the states are recovered correctly. However, after monitoring some of the Asgard1.7's teleported back, all the variables seem to get reset. One of the reason for this might be that the MemoryStream argument in Deserialize method is still null (just like local teleport case), hence no deserialization happens during teleport. I have no way to test this now because the local teleporting does not deserialize anymore.
Has anyone been able to retrieve DNA information even after teleporting? Also, does anyone know the correct calling order of these three methods (TeleportedEvent, SerializeAnimal, DeserializeAnimal) during teleporting?