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
- [URP][OpenGL] "Trying to load color backbuffer into a complex RenderPass setup, results undefined" error is thrown when using Decal Projector
- Top and bottom color channels are swapped when lighting an object with Six Way Shader Graph in URP
- "Problem detected while importing the Prefab file" errors on Learning Templates import
- Crash on RaiseException during Socket.BeginConnect in Player when application connection is blocked through commercial firewall
- Decal Projector produces artifacts when the normal and decal are projected in negative z-direction and Normal Blend is set to 1
Add comment