Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
4.2.1f2
Issue ID
565717
Regression
No
Can't inspect Generic List in MonoDevelop
To Reproduce:
1. Create a script with this code:
using UnityEngine;
using System.Collections.Generic;
public class Test : MonoBehaviour {
public List<NumbersInSpanish> theList;
void Start () {
theList = new List<NumbersInSpanish>();
theList.Add (new NumbersInSpanish(){value1 = 1, value2 = "Uno"});
theList.Add (new NumbersInSpanish(){value1 = 2, value2 = "Dos"}); // Break here
}
}
public class NumbersInSpanish {
public int value1;
public string value2;
}
2. Attach the script to an GameObject. Attach MonoDevelop to the Editor and place a breakpoint in the line with the comment.
3. Enter play mode and try to inspect the "theList" variable. MonoDevelop with display the following error:
Unknown type 'System.Collections.Generic.CollectionDebuggerView`1, mscorlib.dll'
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Reflection problems when unbaked Reflection Probes are present
- Light Explorer columns sorting arrow is too small
- Context menu actions (Collapse All, Expand All, Enable All, Disable All, Remove All, Reset All) do nothing in Volume component
- [Android] Audio volume decreases when returning to the app during screen recording
- Graphical issues are caused by GPU Occlusion Culling when using Amplify Shaders
Add comment