Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

SyncListStruct empty for new clients joining

$
0
0
I am using a sync list struct, and the data is synced fine for clients currently in the game. For new clients joining, the initial data is not getting sent. I've spent a bit trying to figure out what is causing this, but have not made any progress. Does anyone have any thoughts of what this could be? Here's a bit of code surrounding it.

Code (csharp):
  1.  
  2. [System.Serializable]
  3. public struct ItemDTO
  4. {
  5.     public byte[] Data;
  6.  
  7.     public ItemDTO(byte[] data)
  8.     {
  9.         this.Data = data;
  10.     }
  11. }...
SyncListStruct empty for new clients joining

Viewing all articles
Browse latest Browse all 16796


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>