diff --git a/Il2CppInspector.Common/IL2CPP/ImageScan.cs b/Il2CppInspector.Common/IL2CPP/ImageScan.cs index 6ade913..1186b97 100644 --- a/Il2CppInspector.Common/IL2CPP/ImageScan.cs +++ b/Il2CppInspector.Common/IL2CPP/ImageScan.cs @@ -294,7 +294,8 @@ namespace Il2CppInspector var mr = Image.ReadMappedVersionedObject(va); if (mr.TypeDefinitionsSizesCount == metadata.Types.Length && mr.FieldOffsetsCount == metadata.Types.Length - && mr is { GenericInstsCount: > 0, GenericClassesCount: > 0 }) + && mr is { GenericInstsCount: > 0, GenericClassesCount: > 0 } + && Image.TryMapVATR(mr.FieldOffsets, out _)) { metadataRegistration = va; break;