fix ToString exception

This commit is contained in:
Sinai 2021-03-21 16:18:47 +11:00
parent 9da2ea9b1b
commit bba912667f
2 changed files with 3 additions and 1 deletions

View File

@ -255,6 +255,8 @@ namespace UnityExplorer.Core.Inspectors.Reflection
else
toString = (string)m_toStringMethod.Invoke(Value, new object[0]);
toString = toString ?? "";
string typeName = valueType.FullName;
if (typeName.StartsWith("Il2CppSystem."))
typeName = typeName.Substring(6, typeName.Length - 6);

View File

@ -17,7 +17,7 @@ namespace UnityExplorer
public class ExplorerCore
{
public const string NAME = "UnityExplorer";
public const string VERSION = "3.2.4";
public const string VERSION = "3.2.5";
public const string AUTHOR = "Sinai";
public const string GUID = "com.sinai.unityexplorer";