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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment