diff --git a/Unity/SymbolResolver.cs b/Unity/SymbolResolver.cs index a394553..a876e33 100644 --- a/Unity/SymbolResolver.cs +++ b/Unity/SymbolResolver.cs @@ -66,7 +66,7 @@ public IntPtr ResolveFirstMatching(Regex regex) if (string.IsNullOrEmpty(name)) throw new UnresolvedSymbolException(regex.ToString()); - return Resolve(name); + return GetAddressOrZero(name); } public unsafe T* ResolveFirstMatching(Regex regex)