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
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
Add comment