Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit bba9126

Browse files
committed
fix ToString exception
1 parent 9da2ea9 commit bba9126

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Core/Inspectors/Reflection/InteractiveValue/InteractiveValue.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ public string GetDefaultLabel(bool updateType = true)
255255
else
256256
toString = (string)m_toStringMethod.Invoke(Value, new object[0]);
257257

258+
toString = toString ?? "";
259+
258260
string typeName = valueType.FullName;
259261
if (typeName.StartsWith("Il2CppSystem."))
260262
typeName = typeName.Substring(6, typeName.Length - 6);

src/ExplorerCore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace UnityExplorer
1717
public class ExplorerCore
1818
{
1919
public const string NAME = "UnityExplorer";
20-
public const string VERSION = "3.2.4";
20+
public const string VERSION = "3.2.5";
2121
public const string AUTHOR = "Sinai";
2222
public const string GUID = "com.sinai.unityexplorer";
2323

0 commit comments

Comments
 (0)