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
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
- Particle System emission ignores the Sprite Atlas when using a Material that has the "Include in Build" setting unchecked
robinouu01
Nov 06, 2016 12:15
Yes, I can reproduce it. I can't edit the list in the inspector.