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.
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
robinouu01
Nov 06, 2016 12:15
Yes, I can reproduce it. I can't edit the list in the inspector.