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

PSA: Do not use 5.3.2p4. SyncLists are broken.

$
0
0
Insert the following lines of code:

Code (CSharp):
  1. using UnityEngine;
  2. using UnityEngine.Networking;
  3.  
  4. public struct A {
  5.     public GameObject obj;
  6. }
  7.  
  8. public class ASyncList : SyncListStruct<A> {}
  9.  
  10. public class Test : NetworkBehaviour {
  11.     public ASyncList list;
  12. }
To any empty player prefab, and try set the prefab as a player prefab in the NetworkManager with NetworkManagerHUD component attached. Just play the scene, press "Start LAN Host", and you'll see the following errors:...

PSA: Do not use 5.3.2p4. SyncLists are broken.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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