Search Issue Tracker
Fixed in 5.2.0
Votes
0
Found in
5.1.0f2
Issue ID
701050
Regression
No
[NetworkBehaviourInspector] Inspector is unable to display SyncList
Steps to reproduce:
1. Open attached project "SyncListBug"
2. Open scene "SyncListBug"
3. Open "TestSyncList.cs" script
4. Notice public bool MP is declared before SyncListString
5. Notice that SyncListString is declared as public.
6. Get back to Unity and in "Hierarchy" select "Directional Light" which has "TestSyncList.cs" attached.
7. Notice IndexOutOfRange exception in console.
Note: this problem occurs with any type of SyncList (SyncListUInt, SyncListString, etc.). This bug doesn't occur if variable (in this case "MP") is declared after SyncList or SyncList is declared as protected or private.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
robinouu01
Nov 06, 2016 12:15
Yes, I can reproduce it. I can't edit the list in the inspector.