From c4cf6bb39cca52a136f9e631af6898f3d004a220 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Tue, 12 Jan 2021 12:09:44 +0100 Subject: [PATCH] IL2CPP: Fix regression in TryPrepareMetadata --- Il2CppInspector.Common/IL2CPP/Il2CppBinary.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Il2CppInspector.Common/IL2CPP/Il2CppBinary.cs b/Il2CppInspector.Common/IL2CPP/Il2CppBinary.cs index 12d1aad..46d0ef8 100644 --- a/Il2CppInspector.Common/IL2CPP/Il2CppBinary.cs +++ b/Il2CppInspector.Common/IL2CPP/Il2CppBinary.cs @@ -248,7 +248,7 @@ namespace Il2CppInspector // Load all of the discovered metadata in the binary private void TryPrepareMetadata(ulong codeRegistration, ulong metadataRegistration, Metadata metadata = null) { try { - PrepareMetadata(codeRegistration, metadataRegistration); + PrepareMetadata(codeRegistration, metadataRegistration, metadata); } catch (Exception ex) when (!(ex is NotSupportedException)) { throw new InvalidOperationException($"Could not analyze IL2CPP data. Ensure that the latest core plugins package is installed and all core plugins are enabled before filing a bug report. The error was: {ex.Message}", ex);