Insert the following lines of code:
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.
Code (CSharp):
- using UnityEngine;
- using UnityEngine.Networking;
- public struct A {
- public GameObject obj;
- }
- public class ASyncList : SyncListStruct<A> {}
- public class Test : NetworkBehaviour {
- public ASyncList list;
- }
PSA: Do not use 5.3.2p4. SyncLists are broken.