Skip to content

Instantly share code, notes, and snippets.

@the-creamster
Created September 16, 2017 02:50
Show Gist options
  • Save the-creamster/15a8802829ec293335851fde6cf44154 to your computer and use it in GitHub Desktop.
Save the-creamster/15a8802829ec293335851fde6cf44154 to your computer and use it in GitHub Desktop.
Joined room, now to do stuff
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Exception: Could not cast or convert from {null} to System.Int32.
at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (System.Object value, System.Globalization.CultureInfo culture, System.Type targetType) [0x00000] in <filename unknown>:0
Rethrow as JsonSerializationException: Error converting value {null} to type 'System.Int32'.
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (System.Object value, System.Globalization.CultureInfo culture, System.Type targetType) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueProperty (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonProperty property, System.Object target, Boolean gottenCurrentValue, System.Object currentValue) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, System.String id) [0x00000] in <filename unknown>:0
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
NetworkingPeer:SendMonoMessage(PhotonNetworkingMessage, Object[])
PhotonNetwork:EnterOfflineRoom(String, RoomOptions, Boolean)
PhotonNetwork:JoinRoom(String, String[])
PhotonNetwork:JoinRoom(String)
TerrainManager:Start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment