Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method not found: 'UnityEngine.AssetBundle UnityEngine.AssetBundle.LoadFromMemory(Byte[])' #42

Open
ThisKo0 opened this issue Jul 10, 2024 · 1 comment

Comments

@ThisKo0
Copy link

ThisKo0 commented Jul 10, 2024

image

[06:06:44.923] [Ko0-Bot] System.MissingMethodException: Method not found: 'UnityEngine.AssetBundle UnityEngine.AssetBundle.LoadFromMemory(Byte[])'.
at UrGUI.GUIWindow.GUIWindow.LoadDefaultSkin()
at UrGUI.GUIWindow.GUIWindow.Ini()
at UrGUI.GUIWindow.GUIWindow.Begin(String windowTitle, Single startX, Single startY, Single startWidth, Single startHeight, Single margin, Single controlHeight, Single controlSpace, Boolean isEnabled, Boolean isDraggable, Boolean dynamicHeight)
at UrGUI.GUIWindow.GUIWindow.Begin(String windowTitle, Single startWidth, Single margin, Single controlHeight, Single controlSpace, Boolean isEnabled, Boolean isDraggable, Boolean dynamicHeight)
at MelonTest.MainMelon.OnGUI()
at MelonLoader.MelonEvent.<>c.b__1_0(LemonAction x) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 174
at MelonLoader.MelonEventBase1.Invoke(Action1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
[06:06:44.935] [Ko0-Bot] System.TypeInitializationException: The type initializer for 'UrGUI.GUIWindow.Utils.GUIFormatting' threw an exception.
---> System.MissingMethodException: Method not found: 'Void UnityEngine.GUIStyle..ctor(UnityEngine.GUIStyle)'.
at UrGUI.GUIWindow.Utils.GUIFormatting..cctor()
--- End of inner exception stack trace ---
at UrGUI.GUIWindow.Utils.GUIFormatting.get_StringStyle()
at UrGUI.GUIWindow.Utils.GUIFormatting.GetContentStringSize(String text)
at UrGUI.GUIWindow.GUIWindowControls.WLabel.Draw(Rect r)
at UrGUI.GUIWindow.GUIWindow.Draw()
at MelonTest.MainMelon.OnGUI()
at MelonLoader.MelonEvent.<>c.b__1_0(LemonAction x) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 174
at MelonLoader.MelonEventBase1.Invoke(Action1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
[06:06:45.037] [Ko0-Bot] System.TypeInitializationException: The type initializer for 'UrGUI.GUIWindow.Utils.GUIFormatting' threw an exception.
---> System.MissingMethodException: Method not found: 'Void UnityEngine.GUIStyle..ctor(UnityEngine.GUIStyle)'.
at UrGUI.GUIWindow.Utils.GUIFormatting..cctor()
--- End of inner exception stack trace ---
at UrGUI.GUIWindow.Utils.GUIFormatting.get_StringStyle()
at UrGUI.GUIWindow.Utils.GUIFormatting.GetContentStringSize(String text)
at UrGUI.GUIWindow.GUIWindowControls.WLabel.Draw(Rect r)
at UrGUI.GUIWindow.GUIWindow.Draw()
at MelonTest.MainMelon.OnGUI()
at MelonLoader.MelonEvent.<>c.b__1_0(LemonAction x) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 174
at MelonLoader.MelonEventBase1.Invoke(Action1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
[06:06:45.038] [Ko0-Bot] System.TypeInitializationException: The type initializer for 'UrGUI.GUIWindow.Utils.GUIFormatting' threw an exception.
---> System.MissingMethodException: Method not found: 'Void UnityEngine.GUIStyle..ctor(UnityEngine.GUIStyle)'.
at UrGUI.GUIWindow.Utils.GUIFormatting..cctor()
--- End of inner exception stack trace ---
at UrGUI.GUIWindow.Utils.GUIFormatting.get_StringStyle()
at UrGUI.GUIWindow.Utils.GUIFormatting.GetContentStringSize(String text)
at UrGUI.GUIWindow.GUIWindowControls.WLabel.Draw(Rect r)
at UrGUI.GUIWindow.GUIWindow.Draw()
at MelonTest.MainMelon.OnGUI()
at MelonLoader.MelonEvent.<>c.b__1_0(LemonAction x) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 174
at MelonLoader.MelonEventBase1.Invoke(Action1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
[06:06:45.152] [Ko0-Bot] System.TypeInitializationException: The type initializer for 'UrGUI.GUIWindow.Utils.GUIFormatting' threw an exception.
---> System.MissingMethodException: Method not found: 'Void UnityEngine.GUIStyle..ctor(UnityEngine.GUIStyle)'.
at UrGUI.GUIWindow.Utils.GUIFormatting..cctor()
--- End of inner exception stack trace ---
at UrGUI.GUIWindow.Utils.GUIFormatting.get_StringStyle()
at UrGUI.GUIWindow.Utils.GUIFormatting.GetContentStringSize(String text)
at UrGUI.GUIWindow.GUIWindowControls.WLabel.Draw(Rect r)
at UrGUI.GUIWindow.GUIWindow.Draw()
at MelonTest.MainMelon.OnGUI()
at MelonLoader.MelonEventBase1.Invoke(Action1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
[06:06:45.153] [Ko0-Bot] System.TypeInitializationException: The type initializer for 'UrGUI.GUIWindow.Utils.GUIFormatting' threw an exception.
---> System.MissingMethodException: Method not found: 'Void UnityEngine.GUIStyle..ctor(UnityEngine.GUIStyle)'.
at UrGUI.GUIWindow.Utils.GUIFormatting..cctor()
--- End of inner exception stack trace ---
at UrGUI.GUIWindow.Utils.GUIFormatting.get_StringStyle()
at UrGUI.GUIWindow.Utils.GUIFormatting.GetContentStringSize(String text)
at UrGUI.GUIWindow.GUIWindowControls.WLabel.Draw(Rect r)
at UrGUI.GUIWindow.GUIWindow.Draw()
at MelonTest.MainMelon.OnGUI()
at MelonLoader.MelonEventBase1.Invoke(Action1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
[06:06:45.263] [Ko0-Bot] System.TypeInitializationException: The type initializer for 'UrGUI.GUIWindow.Utils.GUIFormatting' threw an exception.
---> System.MissingMethodException: Method not found: 'Void UnityEngine.GUIStyle..ctor(UnityEngine.GUIStyle)'.
at UrGUI.GUIWindow.Utils.GUIFormatting..cctor()
--- End of inner exception stack trace ---
at UrGUI.GUIWindow.Utils.GUIFormatting.get_StringStyle()
at UrGUI.GUIWindow.Utils.GUIFormatting.GetContentStringSize(String text)
at UrGUI.GUIWindow.GUIWindowControls.WLabel.Draw(Rect r)
at UrGUI.GUIWindow.GUIWindow.Draw()
at MelonTest.MainMelon.OnGUI()
at MelonLoader.MelonEventBase1.Invoke(Action1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
[06:06:45.264] [Ko0-Bot] System.TypeInitializationException: The type initializer for 'UrGUI.GUIWindow.Utils.GUIFormatting' threw an exception.
---> System.MissingMethodException: Method not found: 'Void UnityEngine.GUIStyle..ctor(UnityEngine.GUIStyle)'.
at UrGUI.GUIWindow.Utils.GUIFormatting..cctor()
--- End of inner exception stack trace ---
at UrGUI.GUIWindow.Utils.GUIFormatting.get_StringStyle()
at UrGUI.GUIWindow.Utils.GUIFormatting.GetContentStringSize(String text)
at UrGUI.GUIWindow.GUIWindowControls.WLabel.Draw(Rect r)
at UrGUI.GUIWindow.GUIWindow.Draw()
at MelonTest.MainMelon.OnGUI()
at MelonLoader.MelonEventBase1.Invoke(Action1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
[06:06:45.331] [Ko0-Bot] System.TypeInitializationException: The type initializer for 'UrGUI.GUIWindow.Utils.GUIFormatting' threw an exception.
---> System.MissingMethodException: Method not found: 'Void UnityEngine.GUIStyle..ctor(UnityEngine.GUIStyle)'.
at UrGUI.GUIWindow.Utils.GUIFormatting..cctor()
--- End of inner exception stack trace ---
at UrGUI.GUIWindow.Utils.GUIFormatting.get_StringStyle()
at UrGUI.GUIWindow.Utils.GUIFormatting.GetContentStringSize(String text)
at UrGUI.GUIWindow.GUIWindowControls.WLabel.Draw(Rect r)
at UrGUI.GUIWindow.GUIWindow.Draw()
at MelonTest.MainMelon.OnGUI()
at MelonLoader.MelonEventBase1.Invoke(Action1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
[06:06:45.331] [Ko0-Bot] System.TypeInitializationException: The type initializer for 'UrGUI.GUIWindow.Utils.GUIFormatting' threw an exception.
---> System.MissingMethodException: Method not found: 'Void UnityEngine.GUIStyle..ctor(UnityEngine.GUIStyle)'.
at UrGUI.GUIWindow.Utils.GUIFormatting..cctor()
--- End of inner exception stack trace ---
at UrGUI.GUIWindow.Utils.GUIFormatting.get_StringStyle()
at UrGUI.GUIWindow.Utils.GUIFormatting.GetContentStringSize(String text)
at UrGUI.GUIWindow.GUIWindowControls.WLabel.Draw(Rect r)
at UrGUI.GUIWindow.GUIWindow.Draw()
at MelonTest.MainMelon.OnGUI()
at MelonLoader.MelonEventBase1.Invoke(Action1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
[06:06:59.159] [UnityExplorer] [UniverseLib] Can't cache type named DragState Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.BaseField1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type) at System.RuntimeType.RuntimeTypeCache.GetEnclosingType() at System.RuntimeType.RuntimeTypeCache.GetNameSpace() at System.RuntimeType.get_Namespace() at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124 [06:07:04.414] [UnityExplorer] [UniverseLib] Can't cache type named <>c Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.TypedUxmlAttributeDescription1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type)
at System.RuntimeType.RuntimeTypeCache.GetEnclosingType()
at System.RuntimeType.RuntimeTypeCache.GetNameSpace()
at System.RuntimeType.get_Namespace()
at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124
[06:07:04.418] [UnityExplorer] [UniverseLib] Can't cache type named <>c Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.TypedUxmlAttributeDescription1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type) at System.RuntimeType.RuntimeTypeCache.GetEnclosingType() at System.RuntimeType.RuntimeTypeCache.GetNameSpace() at System.RuntimeType.get_Namespace() at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124 [06:07:04.420] [UnityExplorer] [UniverseLib] Can't cache type named <>c Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.TypedUxmlAttributeDescription1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type)
at System.RuntimeType.RuntimeTypeCache.GetEnclosingType()
at System.RuntimeType.RuntimeTypeCache.GetNameSpace()
at System.RuntimeType.get_Namespace()
at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124
[06:07:04.438] [UnityExplorer] [UniverseLib] Can't cache type named <>c Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.TypedUxmlAttributeDescription1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type) at System.RuntimeType.RuntimeTypeCache.GetEnclosingType() at System.RuntimeType.RuntimeTypeCache.GetNameSpace() at System.RuntimeType.get_Namespace() at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124 [06:07:04.439] [UnityExplorer] [UniverseLib] Can't cache type named <>c Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.TypedUxmlAttributeDescription1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type)
at System.RuntimeType.RuntimeTypeCache.GetEnclosingType()
at System.RuntimeType.RuntimeTypeCache.GetNameSpace()
at System.RuntimeType.get_Namespace()
at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124
[06:07:04.440] [UnityExplorer] [UniverseLib] Can't cache type named <>c Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.TypedUxmlAttributeDescription1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type) at System.RuntimeType.RuntimeTypeCache.GetEnclosingType() at System.RuntimeType.RuntimeTypeCache.GetNameSpace() at System.RuntimeType.get_Namespace() at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124 [06:07:04.441] [UnityExplorer] [UniverseLib] Can't cache type named <>c Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.TypedUxmlAttributeDescription1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type)
at System.RuntimeType.RuntimeTypeCache.GetEnclosingType()
at System.RuntimeType.RuntimeTypeCache.GetNameSpace()
at System.RuntimeType.get_Namespace()
at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124
[06:07:04.441] [UnityExplorer] [UniverseLib] Can't cache type named <>c Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.UIR.ShaderInfoStorage1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type) at System.RuntimeType.RuntimeTypeCache.GetEnclosingType() at System.RuntimeType.RuntimeTypeCache.GetNameSpace() at System.RuntimeType.get_Namespace() at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124 [06:07:04.442] [UnityExplorer] [UniverseLib] Can't cache type named <>c Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.UIR.ShaderInfoStorage1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type)
at System.RuntimeType.RuntimeTypeCache.GetEnclosingType()
at System.RuntimeType.RuntimeTypeCache.GetNameSpace()
at System.RuntimeType.get_Namespace()
at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124
[06:07:04.442] [UnityExplorer] [UniverseLib] Can't cache type named <>c Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.UIR.LinkedPool1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type) at System.RuntimeType.RuntimeTypeCache.GetEnclosingType() at System.RuntimeType.RuntimeTypeCache.GetNameSpace() at System.RuntimeType.get_Namespace() at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124 [06:07:04.443] [UnityExplorer] [UniverseLib] Can't cache type named <>c Error: System.TypeLoadException: Could not load type 'UnityEngine.UIElements.UIR.LinkedPool1' from assembly 'UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type)
at System.RuntimeType.RuntimeTypeCache.GetEnclosingType()
at System.RuntimeType.RuntimeTypeCache.GetNameSpace()
at System.RuntimeType.get_Namespace()
at UniverseLib.ReflectionUtility.CacheTypes(Assembly asm) in C:\Users\xande\Documents\Documents\Btd6 Mods\Mod Projects\UniverseLib-NewML\src\Reflection\ReflectionUtility.cs:line 124

@ThisKo0
Copy link
Author

ThisKo0 commented Jul 11, 2024

System.TypeInitializationException: The type initializer for 'MethodInfoStoreGeneric_AddComponent_Public_T_0`1' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
--- End of inner exception stack trace ---
at UnityEngine.GameObject.AddComponentT
at UrGUI.UWindow.UWindowManager.InitializeManager()
at UrGUI.UWindow.UWindowManager.Register(UWindow win)
at UrGUI.UWindow.UWindow.Begin(String windowTitle, Single startX, Single startY, Single startWidth, Single startHeight, Single margin, Single controlHeight, Single controlSpace, Boolean isDrawing, Boolean isDraggable, Boolean dynamicHeight)
at UrGUI.UWindow.UWindow.Begin(String windowTitle, Single startWidth, Single margin, Single controlHeight, Single controlSpace, Boolean isEnabled, Boolean isDraggable, Boolean dynamicHeight)
at MelonTest.MainMelon.OnInitializeMelon()
at MelonLoader.MelonBase.LoaderInitialized() in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\MelonBase.cs:line 440

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant