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
- [IL2CPP] RuntimeInitializeOnLoadMethod is stripped/not executed for Android development builds
- Configurable Joints are not scaled when the GameObjects containing the Joints are scaled
- Animation fails to trigger when Animator enters Animation State and Animator Component is on the parent GameObject
- [Metal] "undeclared identifier 'RemapFoveatedRenderingResolve'" error is thrown when compiling a shader
- "NullReferenceException" is logged when adding a visual element to a list using the Item Template setting
robinouu01
Nov 06, 2016 12:15
Yes, I can reproduce it. I can't edit the list in the inspector.