
[Bug]: "Fatal error. System.AccessViolationException" - BTD6
Closed this issue ยท 3 comments
All of the following criteria must be met
- All Requirements must be installed.
- Changed the title so that it doesn't just says "[Bug]: "
- I have searched the GitHub issues for my bug, even in the closed issues.
All of the following are optional to answer
- Tried reinstalling the Game.
- Tried reinstalling MelonLoader.
- Tried restarting PC.
- Was able to see the Start Screen.
Describe the issue.
BTD6 won't open, gives the error message: "Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt." I've been looking around in other issues and none seem to help.
"
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Il2CppInterop.Runtime.Injection.Hooks.GenericMethod_GetMethod_Hook.Hook(Il2CppInterop.Runtime.Runtime.Il2CppGenericMethod*, Boolean)
at Il2CppInterop.Runtime.IL2CPP.il2cpp_runtime_invoke(IntPtr, IntPtr, Void**, IntPtr ByRef)
at Il2CppInterop.Runtime.IL2CPP.il2cpp_runtime_invoke(IntPtr, IntPtr, Void**, IntPtr ByRef)
at Il2CppSystem.Reflection.MethodBase.GetParameters()
at Il2CppInterop.Runtime.DelegateSupport.ConvertDelegate[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]
at UnityEngine.Events.UnityAction2[[UnityEngine.SceneManagement.Scene, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null],[UnityEngine.SceneManagement.LoadSceneMode, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].op_Implicit(System.Action
2<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode>)
at MelonLoader.Support.SceneHandler.Init()
at MelonLoader.Support.Main.Initialize(MelonLoader.ISupportModule_From)
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Span`1<System.Object> ByRef, System.Signature, Boolean, Boolean)
at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
at System.Reflection.MethodBase.Invoke(System.Object, System.Object[])
at MelonLoader.SupportModule.LoadInterface(System.String)
at MelonLoader.SupportModule.Setup()
at MelonLoader.Core.Start()
at MelonLoader.InternalUtils.BootstrapInterop.Start()
I've tried disabling all mods and still gives the same error.
Did you attach your log file?
Yes, I attached my log file to the text box above.
Same for me. I also noticed, that he game version is nor recognized: [08:37:16.779] Game Version: UNKNOWN