Open wijo2 opened 11 months ago
I assume you mean this https://github.com/ManlyMarco/RuntimeUnityEditor/blob/9771eb7948a78c6e72aaefe3f842449588c645f7/RuntimeUnityEditor/Windows/Inspector/Inspector.cs#L454
It should only trigger when there's an exception somewhere in the field drawing code to provide at least some sort of output, so the field drawing code should be fixed instead.
I didn't want to just pr this since it could be legitimately useful and I'm too bad at GUI to solve it without just removing it, but from what I can tell line 454 in Inspector.cs:
GUILayout.TextArea(ex.Message, GUI.skin.label, GUILayout.ExpandWidth(true));
Is causing this error: (picture seems more practical) When trying to scroll down past the limit when searching in the inspector. This seems like a debug tool that clearly doesn't work so if it's not needed anymore and the fix is to just remove the line it should be pretty quick. Honestly don't know if this matters in the slightest but I've been using this tool for a while and felt curious so now you know too I guess.