Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

PLUS NETWORKING - Using Free Google Real Time Multiplayer

Discussion in 'Multiplayer' started by djoshi, Nov 2, 2015.

  1. Sempiternal

    Sempiternal

    Joined:
    Jun 18, 2014
    Posts:
    114
    Didn't work, I had to use 4 of each to finally get it connected, but there are still issues.

    I dragged four transforms and four prefabs with touch movement. On both devices, only two of these prefabs spawn, and I can only control one on each screen. I'm guessing each screen "owns" a prefab because when I try dragging the other one it starts going crazy and nothing happens on the other device. But that still doesn't explain why only two prefabs spawned on each device and not four. At least the movement syncs across each device.

    However, movement is also VERY laggy. I am using packet type unreliable with a data transfer rate of 60. There is definitely latency here, and my game will only work if movement is silky smooth as if playing locally.

    In the logcat, I keep getting the debug message "ERROR_INTERNAL" spamming. I posted it here for reference.

    It also seems that a large majority of your PlusNetwork code was written specifically for that example scene. Would I be able to delete some of these lines of code to write my own logic, or does it have to be this way?

    Here is the logcat for refrence:
    Code (CSharp):
    1. 05-18 13:54:13.381  5746  5817 I Unity   :
    2. 05-18 13:54:13.381  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    3. 05-18 13:54:13.381  5746  5817 I Unity   :
    4. 05-18 13:54:13.391  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    5. 05-18 13:54:13.391  5746  5817 I Unity   :
    6. 05-18 13:54:13.391  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    7. 05-18 13:54:13.391  5746  5817 I Unity   :
    8. 05-18 13:54:13.401  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    9. 05-18 13:54:13.401  5746  5817 I Unity   :
    10. 05-18 13:54:13.401  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    11. 05-18 13:54:13.401  5746  5817 I Unity   :
    12. 05-18 13:54:13.411  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    13. 05-18 13:54:13.411  5746  5817 I Unity   :
    14. 05-18 13:54:13.411  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    15. 05-18 13:54:13.411  5746  5817 I Unity   :
    16. 05-18 13:54:13.431  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    17. 05-18 13:54:13.431  5746  5817 I Unity   :
    18. 05-18 13:54:13.431  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    19. 05-18 13:54:13.431  5746  5817 I Unity   :
    20. 05-18 13:54:13.451  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    21. 05-18 13:54:13.451  5746  5817 I Unity   :
    22. 05-18 13:54:13.451  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    23. 05-18 13:54:13.451  5746  5817 I Unity   :
    24. 05-18 13:54:13.451  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    25. 05-18 13:54:13.451  5746  5817 I Unity   :
    26. 05-18 13:54:13.451  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    27. 05-18 13:54:13.451  5746  5817 I Unity   :
    28. 05-18 13:54:13.471  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    29. 05-18 13:54:13.471  5746  5817 I Unity   :
    30. 05-18 13:54:13.471  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    31. 05-18 13:54:13.471  5746  5817 I Unity   :
    32. 05-18 13:54:13.481  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    33. 05-18 13:54:13.481  5746  5817 I Unity   :
    34. 05-18 13:54:13.481  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    35. 05-18 13:54:13.481  5746  5817 I Unity   :
    36. 05-18 13:54:13.511  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    37. 05-18 13:54:13.511  5746  5817 I Unity   :
    38. 05-18 13:54:13.511  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    39. 05-18 13:54:13.511  5746  5817 I Unity   :
    40. 05-18 13:54:13.521  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    41. 05-18 13:54:13.521  5746  5817 I Unity   :
    42. 05-18 13:54:13.521  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    43. 05-18 13:54:13.521  5746  5817 I Unity   :
    44. 05-18 13:54:13.531  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    45. 05-18 13:54:13.531  5746  5817 I Unity   :
    46. 05-18 13:54:13.531  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    47. 05-18 13:54:13.531  5746  5817 I Unity   :
    48. 05-18 13:54:13.551  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    49. 05-18 13:54:13.551  5746  5817 I Unity   :
    50. 05-18 13:54:13.551  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    51. 05-18 13:54:13.551  5746  5817 I Unity   :
    52. 05-18 13:54:13.551  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    53. 05-18 13:54:13.551  5746  5817 I Unity   :
    54. 05-18 13:54:13.551  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    55. 05-18 13:54:13.551  5746  5817 I Unity   :
    56. 05-18 13:54:13.581  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    57. 05-18 13:54:13.581  5746  5817 I Unity   :
    58. 05-18 13:54:13.581  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    59. 05-18 13:54:13.581  5746  5817 I Unity   :
    60. 05-18 13:54:13.581  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    61. 05-18 13:54:13.581  5746  5817 I Unity   :
    62. 05-18 13:54:13.581  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    63. 05-18 13:54:13.581  5746  5817 I Unity   :
    64. 05-18 13:54:13.591  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    65. 05-18 13:54:13.591  5746  5817 I Unity   :
    66. 05-18 13:54:13.591  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    67. 05-18 13:54:13.591  5746  5817 I Unity   :
    68. 05-18 13:54:13.611  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    69. 05-18 13:54:13.611  5746  5817 I Unity   :
    70. 05-18 13:54:13.611  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    71. 05-18 13:54:13.611  5746  5817 I Unity   :
    72. 05-18 13:54:13.621  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    73. 05-18 13:54:13.621  5746  5817 I Unity   :
    74. 05-18 13:54:13.621  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    75. 05-18 13:54:13.621  5746  5817 I Unity   :
    76. 05-18 13:54:13.631  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    77. 05-18 13:54:13.631  5746  5817 I Unity   :
    78. 05-18 13:54:13.631  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    79. 05-18 13:54:13.631  5746  5817 I Unity   :
    80. 05-18 13:54:13.651  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    81. 05-18 13:54:13.651  5746  5817 I Unity   :
    82. 05-18 13:54:13.651  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    83. 05-18 13:54:13.651  5746  5817 I Unity   :
    84. 05-18 13:54:13.661  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    85. 05-18 13:54:13.661  5746  5817 I Unity   :
    86. 05-18 13:54:13.661  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    87. 05-18 13:54:13.661  5746  5817 I Unity   :
    88. 05-18 13:54:13.671  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    89. 05-18 13:54:13.671  5746  5817 I Unity   :
    90. 05-18 13:54:13.671  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    91. 05-18 13:54:13.671  5746  5817 I Unity   :
    92. 05-18 13:54:13.691  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    93. 05-18 13:54:13.691  5746  5817 I Unity   :
    94. 05-18 13:54:13.691  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    95. 05-18 13:54:13.691  5746  5817 I Unity   :
    96. 05-18 13:54:13.691  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    97. 05-18 13:54:13.691  5746  5817 I Unity   :
    98. 05-18 13:54:13.691  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    99. 05-18 13:54:13.691  5746  5817 I Unity   :
    100. 05-18 13:54:13.721  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    101. 05-18 13:54:13.721  5746  5817 I Unity   :
    102. 05-18 13:54:13.721  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    103. 05-18 13:54:13.721  5746  5817 I Unity   :
    104. 05-18 13:54:13.731  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    105. 05-18 13:54:13.731  5746  5817 I Unity   :
    106. 05-18 13:54:13.731  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    107. 05-18 13:54:13.731  5746  5817 I Unity   :
    108. 05-18 13:54:13.741  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    109. 05-18 13:54:13.741  5746  5817 I Unity   :
    110. 05-18 13:54:13.741  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    111. 05-18 13:54:13.741  5746  5817 I Unity   :
    112. 05-18 13:54:13.751  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    113. 05-18 13:54:13.751  5746  5817 I Unity   :
    114. 05-18 13:54:13.751  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    115. 05-18 13:54:13.751  5746  5817 I Unity   :
    116. 05-18 13:54:13.761  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    117. 05-18 13:54:13.761  5746  5817 I Unity   :
    118. 05-18 13:54:13.761  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    119. 05-18 13:54:13.761  5746  5817 I Unity   :
    120. 05-18 13:54:13.781  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    121. 05-18 13:54:13.781  5746  5817 I Unity   :
    122. 05-18 13:54:13.781  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    123. 05-18 13:54:13.781  5746  5817 I Unity   :
    124. 05-18 13:54:13.791  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    125. 05-18 13:54:13.791  5746  5817 I Unity   :
    126. 05-18 13:54:13.791  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    127. 05-18 13:54:13.791  5746  5817 I Unity   :
    128. 05-18 13:54:13.811  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    129. 05-18 13:54:13.811  5746  5817 I Unity   :
    130. 05-18 13:54:13.811  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    131. 05-18 13:54:13.811  5746  5817 I Unity   :
    132. 05-18 13:54:13.811  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    133. 05-18 13:54:13.811  5746  5817 I Unity   :
    134. 05-18 13:54:13.811  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    135. 05-18 13:54:13.811  5746  5817 I Unity   :
    136. 05-18 13:54:13.821  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    137. 05-18 13:54:13.821  5746  5817 I Unity   :
    138. 05-18 13:54:13.821  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    139. 05-18 13:54:13.821  5746  5817 I Unity   :
    140. 05-18 13:54:13.851  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    141. 05-18 13:54:13.851  5746  5817 I Unity   :
    142. 05-18 13:54:13.851  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    143. 05-18 13:54:13.851  5746  5817 I Unity   :
    144. 05-18 13:54:13.861  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    145. 05-18 13:54:13.861  5746  5817 I Unity   :
    146. 05-18 13:54:13.861  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    147. 05-18 13:54:13.861  5746  5817 I Unity   :
    148. 05-18 13:54:13.871  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    149. 05-18 13:54:13.871  5746  5817 I Unity   :
    150. 05-18 13:54:13.871  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    151. 05-18 13:54:13.871  5746  5817 I Unity   :
    152. 05-18 13:54:13.881  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    153. 05-18 13:54:13.881  5746  5817 I Unity   :
    154. 05-18 13:54:13.881  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    155. 05-18 13:54:13.881  5746  5817 I Unity   :
    156. 05-18 13:54:13.891  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    157. 05-18 13:54:13.891  5746  5817 I Unity   :
    158. 05-18 13:54:13.891  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    159. 05-18 13:54:13.891  5746  5817 I Unity   :
    160. 05-18 13:54:13.901  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    161. 05-18 13:54:13.901  5746  5817 I Unity   :
    162. 05-18 13:54:13.901  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    163. 05-18 13:54:13.901  5746  5817 I Unity   :
    164. 05-18 13:54:13.911  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    165. 05-18 13:54:13.911  5746  5817 I Unity   :
    166. 05-18 13:54:13.911  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    167. 05-18 13:54:13.911  5746  5817 I Unity   :
    168. 05-18 13:54:13.931  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    169. 05-18 13:54:13.931  5746  5817 I Unity   :
    170. 05-18 13:54:13.931  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    171. 05-18 13:54:13.931  5746  5817 I Unity   :
    172. 05-18 13:54:13.941  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    173. 05-18 13:54:13.941  5746  5817 I Unity   :
    174. 05-18 13:54:13.941  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    175. 05-18 13:54:13.941  5746  5817 I Unity   :
    176. 05-18 13:54:13.951  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    177. 05-18 13:54:13.951  5746  5817 I Unity   :
    178. 05-18 13:54:13.951  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    179. 05-18 13:54:13.951  5746  5817 I Unity   :
    180. 05-18 13:54:13.961  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    181. 05-18 13:54:13.961  5746  5817 I Unity   :
    182. 05-18 13:54:13.961  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    183. 05-18 13:54:13.961  5746  5817 I Unity   :
    184. 05-18 13:54:13.971  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:13 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    185. 05-18 13:54:13.971  5746  5817 I Unity   :
    186. 05-18 13:54:13.971  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    187. 05-18 13:54:13.971  5746  5817 I Unity   :
    188. 05-18 13:54:13.991  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    189. 05-18 13:54:13.991  5746  5817 I Unity   :
    190. 05-18 13:54:13.991  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    191. 05-18 13:54:13.991  5746  5817 I Unity   :
    192. 05-18 13:54:13.991  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    193. 05-18 13:54:13.991  5746  5817 I Unity   :
    194. 05-18 13:54:13.991  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    195. 05-18 13:54:13.991  5746  5817 I Unity   :
    196. 05-18 13:54:14.021  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    197. 05-18 13:54:14.021  5746  5817 I Unity   :
    198. 05-18 13:54:14.021  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    199. 05-18 13:54:14.021  5746  5817 I Unity   :
    200. 05-18 13:54:14.031  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    201. 05-18 13:54:14.031  5746  5817 I Unity   :
    202. 05-18 13:54:14.031  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    203. 05-18 13:54:14.031  5746  5817 I Unity   :
    204. 05-18 13:54:14.031  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    205. 05-18 13:54:14.031  5746  5817 I Unity   :
    206. 05-18 13:54:14.031  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    207. 05-18 13:54:14.031  5746  5817 I Unity   :
    208. 05-18 13:54:14.061  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    209. 05-18 13:54:14.061  5746  5817 I Unity   :
    210. 05-18 13:54:14.061  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    211. 05-18 13:54:14.061  5746  5817 I Unity   :
    212. 05-18 13:54:14.081  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    213. 05-18 13:54:14.081  5746  5817 I Unity   :
    214. 05-18 13:54:14.081  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    215. 05-18 13:54:14.081  5746  5817 I Unity   :
    216. 05-18 13:54:14.081  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    217. 05-18 13:54:14.081  5746  5817 I Unity   :
    218. 05-18 13:54:14.081  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    219. 05-18 13:54:14.081  5746  5817 I Unity   :
    220. 05-18 13:54:14.081  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering InternalOnDataReceived: 35
    221. 05-18 13:54:14.081  5746  5817 I Unity   :
    222. 05-18 13:54:14.081  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    223. 05-18 13:54:14.081  5746  5817 I Unity   :
    224. 05-18 13:54:14.111  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    225. 05-18 13:54:14.111  5746  5817 I Unity   :
    226. 05-18 13:54:14.111  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    227. 05-18 13:54:14.111  5746  5817 I Unity   :
    228. 05-18 13:54:14.151  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    229. 05-18 13:54:14.151  5746  5817 I Unity   :
    230. 05-18 13:54:14.151  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    231. 05-18 13:54:14.151  5746  5817 I Unity   :
    232. 05-18 13:54:14.181  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    233. 05-18 13:54:14.181  5746  5817 I Unity   :
    234. 05-18 13:54:14.181  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    235. 05-18 13:54:14.181  5746  5817 I Unity   :
    236. 05-18 13:54:14.221  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    237. 05-18 13:54:14.221  5746  5817 I Unity   :
    238. 05-18 13:54:14.221  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    239. 05-18 13:54:14.221  5746  5817 I Unity   :
    240. 05-18 13:54:14.251  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    241. 05-18 13:54:14.251  5746  5817 I Unity   :
    242. 05-18 13:54:14.251  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    243. 05-18 13:54:14.251  5746  5817 I Unity   :
    244. 05-18 13:54:14.281  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    245. 05-18 13:54:14.281  5746  5817 I Unity   :
    246. 05-18 13:54:14.281  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    247. 05-18 13:54:14.281  5746  5817 I Unity   :
    248. 05-18 13:54:14.321  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    249. 05-18 13:54:14.321  5746  5817 I Unity   :
    250. 05-18 13:54:14.321  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    251. 05-18 13:54:14.321  5746  5817 I Unity   :
    252. 05-18 13:54:14.361  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    253. 05-18 13:54:14.361  5746  5817 I Unity   :
    254. 05-18 13:54:14.361  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    255. 05-18 13:54:14.361  5746  5817 I Unity   :
    256. 05-18 13:54:14.381  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    257. 05-18 13:54:14.381  5746  5817 I Unity   :
    258. 05-18 13:54:14.381  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    259. 05-18 13:54:14.381  5746  5817 I Unity   :
    260. 05-18 13:54:14.421  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    261. 05-18 13:54:14.421  5746  5817 I Unity   :
    262. 05-18 13:54:14.421  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    263. 05-18 13:54:14.421  5746  5817 I Unity   :
    264. 05-18 13:54:14.451  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    265. 05-18 13:54:14.451  5746  5817 I Unity   :
    266. 05-18 13:54:14.451  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    267. 05-18 13:54:14.451  5746  5817 I Unity   :
    268. 05-18 13:54:14.481  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    269. 05-18 13:54:14.481  5746  5817 I Unity   :
    270. 05-18 13:54:14.481  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    271. 05-18 13:54:14.481  5746  5817 I Unity   :
    272. 05-18 13:54:14.521  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    273. 05-18 13:54:14.521  5746  5817 I Unity   :
    274. 05-18 13:54:14.521  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    275. 05-18 13:54:14.521  5746  5817 I Unity   :
    276. 05-18 13:54:14.551  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    277. 05-18 13:54:14.551  5746  5817 I Unity   :
    278. 05-18 13:54:14.551  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    279. 05-18 13:54:14.551  5746  5817 I Unity   :
    280. 05-18 13:54:14.581  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    281. 05-18 13:54:14.581  5746  5817 I Unity   :
    282. 05-18 13:54:14.581  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    283. 05-18 13:54:14.581  5746  5817 I Unity   :
    284. 05-18 13:54:14.611  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    285. 05-18 13:54:14.611  5746  5817 I Unity   :
    286. 05-18 13:54:14.611  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    287. 05-18 13:54:14.611  5746  5817 I Unity   :
    288. 05-18 13:54:14.641  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    289. 05-18 13:54:14.641  5746  5817 I Unity   :
    290. 05-18 13:54:14.641  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    291. 05-18 13:54:14.641  5746  5817 I Unity   :
    292. 05-18 13:54:14.671  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    293. 05-18 13:54:14.671  5746  5817 I Unity   :
    294. 05-18 13:54:14.671  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    295. 05-18 13:54:14.671  5746  5817 I Unity   :
    296. 05-18 13:54:14.691  5746  5817 I Unity   :  [Play Games Plugin DLL] 05/18/16 13:54:14 -05:00 DEBUG: Entering internal callback for InternalSendReliableMessageCallback ERROR_INTERNAL
    297. 05-18 13:54:14.691  5746  5817 I Unity   :
    298. 05-18 13:54:14.691  5746  5817 I Unity   : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
    299. 05-18 13:54:14.691  5746  5817 I Unity   :
    300.  
     
    Last edited: May 18, 2016
  2. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    If you are testing in two device it will spawn two players only. Prefab can be n numbers(example cars, characters etc) but you can have one prefab for one player only. When multiplayer starts only player tagged "plusMyPlayer" can have controls rest controlled by other device. But if you want to make a specific functionality of controlling everything in every device you need to put your own game logic in to it. Code is all open, take a back up & change whatever you want to change. For latency there may be many factors needed to check like connection speed, physics calculation etc. you need to test what gives you best performance. Because plugin is already equipped with interpolation/extrapolation, so just test different things. For error please refer here & here. Its a GPGS problem or must be something you have changed please recheck everything.
     
    Last edited: May 20, 2016
  3. Sempiternal

    Sempiternal

    Joined:
    Jun 18, 2014
    Posts:
    114
    Is there any chance we can do a quick skype session so I can share my screen with you? Since there is virtually no comments in the code I need better explanations of the logic and also I would like to show you the errors because it would make more sense for you to see it than to read about it. I am desperate to get my game out and this is taking much longer than I thought it would. I am considering purchasing other GPGS plugins but I do believe in this plugin, however I fear there is much work to be done. Please let me know, because one message per day on here is going to get us nowhere.
     
  4. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Skype id darshitjoshi
     
  5. Sempiternal

    Sempiternal

    Joined:
    Jun 18, 2014
    Posts:
    114
    Thanks, Added.
     
  6. ggirgin

    ggirgin

    Joined:
    Feb 20, 2016
    Posts:
    5
    Hi Djoshi,
    I built your example Rtm scene. But it seems work not correctly. Both two devices controls same cubes and does not seen in the other device.
     
  7. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Hi,
    Can you please email me at gamozome@gmail.com, I will send you a small bug fix. That will resolve the issue.
     
  8. ioioio8888

    ioioio8888

    Joined:
    Aug 25, 2016
    Posts:
    2
    I am willing to purchase this asset, may I know is it possible to find out each player easily by this asset?
    etc, local player, same team player, enemy player
    If yes, can I know how to do this?
     
  9. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Yes you can do that easily by just enabling option in our manager component. Additionally all these player are tagged at runtime automatically, so that you can use them in your code.
     
  10. ioioio8888

    ioioio8888

    Joined:
    Aug 25, 2016
    Posts:
    2
    Where can i find the option?
     
  11. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    In PlusNetworkManager.cs script. Attach it to any empty object. You will get the option in inspector.
     
  12. Sergasteam

    Sergasteam

    Joined:
    Mar 1, 2013
    Posts:
    113
    Hello, i'm running your example scene on two android devices with google play game services.
    Finding quick match works fine, all transform spawns well, but when one of players has left from game or disconnect transform for this player doesn't destroy on other devices, how can i fix it?
     
  13. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Hi, Please contact me at gamozome@gmail.com, I will send you the fix.
     
  14. Sergasteam

    Sergasteam

    Joined:
    Mar 1, 2013
    Posts:
    113
  15. nallez

    nallez

    Joined:
    Nov 13, 2016
    Posts:
    1
    I bought this asset and I've gotten it to work via single scene.

    I just made a UI with the login system and would like to load a new scene with the game.

    How do I instantiate the Game Manager I used in the UI scene? I mean it has to be a singleton, so I don't need to redo the login for the new scene?

    The question is short:
    - How can I Load the scene, so the Google Play Games login info stays to the new scene?
     
  16. reese01

    reese01

    Joined:
    Oct 21, 2014
    Posts:
    21
    How do I do a network call with additional parameters? And how to target a specific GameObject?
     
  17. reese01

    reese01

    Joined:
    Oct 21, 2014
    Posts:
    21
    I want to display a player's name above the box in the example scene you provided. How to assign the text to the proper box when spawning the player?
     
  18. SanjayBhambhu

    SanjayBhambhu

    Joined:
    Aug 22, 2012
    Posts:
    13
    I am sorry but how do you claim to support 8 players realtime multiplayer whereas the official unity plugin says "upto 4 players"
     
  19. reese01

    reese01

    Joined:
    Oct 21, 2014
    Posts:
    21
    We can mark this as abandoned.
     
  20. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
  21. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    I think we have already communicated and I explained the work around. If not - Yes you need to use singleton (dontdestroyonload). So that manager remains in all scene, but best recommended working(Networking friendly) is always have minimum or no scene switching.
     
  22. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    You have to use "SendMethodName", it is explained in doc. If you find difficulty please mail me I will post you the example code for the same.
     
  23. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    You can get all participants ID by :
    using System.Collections.Generic;
    List<Participant> participants = PlayGamesPlatform.Instance.RealTime.GetConnectedParticipants(); You can then feed the text by their ID Texts.
     
  24. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
  25. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Sorry reese01, But some how my system stopped showing me a new message notification so could not follow up on this thread. But you could always contact me via email. Thanks.
     
  26. reese01

    reese01

    Joined:
    Oct 21, 2014
    Posts:
    21
    I am happy it finally notified you.

    Regarding the player names I have issues with attaching the text to appropriate box. How do I know which box belongs to which player?
     
  27. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Can you elaborate more about what exactly you want? but from what I understood, you use a text mesh in box(model) prefab then pass text info to it. To send a text you can create a custom method in manager script and use SendMethodName("YourMethodNameHere"); so that particular instance receives their text(name).
     
  28. reese01

    reese01

    Joined:
    Oct 21, 2014
    Posts:
    21
    IIRC this will send a method to all the participants. I have a problem determining how to display at specific box. I know the creation of text meshes, the problem is in my networking script.
     
  29. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Ok, Please contact me on gamozome@gmail.com, I will post you the example code for the same.
     
  30. koblongata

    koblongata

    Joined:
    Aug 8, 2012
    Posts:
    4
    Since sign in is required, it's impossible to use it in VR (i.e. GearVR) right?
     
  31. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Yes Google sign in is required, but nothing extra steps as you also sign in for Google play services. It uses google play services only.
     
  32. koblongata

    koblongata

    Joined:
    Aug 8, 2012
    Posts:
    4
    So.. Because I tried to integrate Google's own library before, and it will try to switch to Google's login screen if it detects no account is logged in. But since the phone is in VR mode, the notifications are tiny and the login wouldn't work. This login issue won't be a problem here?
     
  33. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    If you have tried google login before and notification comes tiny in VR, then that can happen with this also as we use google library for login.
     
  34. mitchmeyer1

    mitchmeyer1

    Joined:
    Sep 19, 2016
    Posts:
    32
    Hi! Does this asset work on WebGL?
     
  35. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Platform support is from plugin that we use for GPGS, so its more related to it. And not with Plus Networking. So better if you can get GPGS running on WebGL, Plus Networking will also work.
     
  36. Muhamad_Faizol

    Muhamad_Faizol

    Joined:
    Jan 21, 2017
    Posts:
    47
    Hi everyone,

    I run into errors when trying to run the example scene, in both ANP and Google Plugin versions. I'm running PlusNetworking against the latest versions of both ANP and Google Plugin.

    With ANP, there are errors in BtnControl.cs;
    GooglePlayRTM.instance <- error CS0117: `GooglePlayRTM' does not contain a definition for `instance';

    And for the Google Plugin version;
    .RequireGooglePlus() <- Type `GooglePlayGames.BasicApi.PlayGamesClientConfiguration.Builder' does not contain a definition for `RequireGooglePlus' and no extension method `RequireGooglePlus' of type `GooglePlayGames.BasicApi.PlayGamesClientConfiguration.Builder' could be found.

    What's the best way to solve the above problems?

    Thank you,

    Regards,
     
  37. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    I have replied the solution to your mail, please check.
     
  38. FuzzyShan

    FuzzyShan

    Joined:
    Jul 30, 2012
    Posts:
    182
    Does this support multiple sessions within one instance?
     
  39. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Do you mean multiple matches? Yes.
     
  40. SiliconDroid

    SiliconDroid

    Joined:
    Feb 20, 2017
    Posts:
    302
    HI, couple of Qs:

    1)
    When the user who starts the match leaves will that kill the match. Put another way: is it possible to have a match continue once the match strarter leaves? An FPS arena for example can remaining players keep playing or does the net just go dead for them?

    2)
    What's the max number of players per match, I've read both 4 and 8 on google searches.
     
  41. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    1) Creation of room is irrelevant to players, so it will remain ON until last player. But we can create a master player mechanics by own if we want.
    2) Its 8.
     
    SiliconDroid likes this.
  42. ostrich160

    ostrich160

    Joined:
    Feb 28, 2012
    Posts:
    679
    Please dont keep solutions private, I just came here because I had this exact problem

    For now I've commented out .RequireGooglePlus as it doesnt seem to do anything
     
    theANMATOR2b likes this.
  43. iosdevelopers

    iosdevelopers

    Joined:
    Jun 15, 2014
    Posts:
    10
    I have that same problem. What's the solution?
     
  44. Muhamad_Faizol

    Muhamad_Faizol

    Joined:
    Jan 21, 2017
    Posts:
    47
    Hi iosdevelopers,

    Just comment it out. I think the method was for google+ which has been abandoned by Google since a while ago (last year?), so the method was removed from the more recent versions of Unity-Google-Play_Game_Service plugin.

    Cheers,
     
  45. iosdevelopers

    iosdevelopers

    Joined:
    Jun 15, 2014
    Posts:
    10
    What i have to do as a result
     
  46. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Open>PlusNetworkManager.cs script>Find line " .RequireGooglePlus()">Delete it.
     
  47. HabeebButt

    HabeebButt

    Joined:
    Mar 9, 2017
    Posts:
    2
    I have just read this whole thread and i am very happy and satisfied to see the way you support and help all users!!!
    i have few questions for you.(Forgive me if my questions make no sense, But i really want to buy THIS, so i just need answers of my confussions.)
    1 ) What is role of github in your Source Code?? just read somewhere in thread about github link and stuff like that,
    MY QUESTION IS
    : Does your code work like Maven?? (Means : download Google play services API from github on Installation time.) that means if i buy your code once and it will sync automatically with google's latest functionalities using github link...???
    2 ) Do i need to purchase a Google Developers Account BEFORE purchasing this, if yes? then how to link this source with my developer account??
    3 ) May i use all these services easily with this source, Or do i need to add separate code and implementations for services like Achievements, Leaderboards , Quests and Events , Gifts and Requests??
    Just because first you mentioned in Description "You can use all superb google functionality like Quick match, Invitations, Save game states etc. & many more for free."


    I am 99% SURE to buy this source, and it will be 100% for sure after your answers!
    Cheers!
     
  48. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Hi,
    1) You have to manually download the google play services package from Github and just import.
    2) Yes you need that to use some services like realtime multiplayer(You have to enable that from dashboard).
    3) You will get all api of this but you need this to code according to your game mechanics.
     
  49. HabeebButt

    HabeebButt

    Joined:
    Mar 9, 2017
    Posts:
    2
    Hi, Thanks a ton, Confusions Cleared i am going to purchase it soon!!!!
    just a bit more...In my case
    i am making 2D game where both players have there own car running towards same victory point (i understand that part, where i have to make prefabs and drag them in Inspector!)
    NOW, what i really want to know is, how to handle that victory part like P1 : You Win! & P2 : You Lose!
    Do i need to write that "VictoryLogicFunction( )" by my self where i have to send / receive / convert bytes data and figure out which player have won? is that victory part handled in included example?
     
  50. djoshi

    djoshi

    Joined:
    Mar 28, 2014
    Posts:
    182
    Hi, That should be your own code logic.
     
    HabeebButt likes this.