![]() ![]() ![]() () (at Assets/Photon/PhotonUnityNetworking/Code/PhotonHandler. ( photonEvent) (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2525)Į.DeserializeMessageAndCallback ( stream) (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PeerBase.cs:634)Į.DispatchIncomingCommands () (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/EnetPeer.cs:550)Į.DispatchIncomingCommands () (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PhotonPeer.cs:1422) Serializable types and sizes are as follows: Type. This serializer can provide a size that is close to the theoretical size. ( photonEvent) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetworkPart.cs:2189) When you serialize data into a stream you have to make sure that you keep the order right since the data is 'serialized', i.e. This archive introduces custom serializer which can serialize custom type such as user defined structure or class. (System.Object data, sender, Int32 networkTime, Int16 correctPrefix) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetworkPart.cs:1816) Im converting my existing single-player game based on the Marco Polo tutorial from Photon as well as by examining the Viking Demo theyve put together. ( stream, PhotonMessageInfo info) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonView.cs:345) (UnityEngine.Component component, stream, PhotonMessageInfo info) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonView.cs:355) ![]() NetworkPlayer.OnPhotonSerializeView ( stream, PhotonMessageInfo info) (at Assets/Scripts/NetworkPlayer.cs:49) (System.Boolean& myBool) (at Assets/Photon/PhotonUnityNetworking/Code/PunClasses.cs:692) InvalidCastException: Cannot cast from source type to destination type. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |