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

[Bug]: System.AccessViolaticnlxception: Attempted to read or write protected memory. This is often an indicationnat other memory is corrupt.at I12CppInterop.Runtime.Injection. #580

Open
6 of 7 tasks
yuanfeng-net opened this issue Nov 22, 2023 · 4 comments

Comments

@yuanfeng-net
Copy link

yuanfeng-net commented Nov 22, 2023

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.

Class::Init signatures have been exhausted, using a substitute!atal error. System.AccessViolaticnlxception: Attempted to read or write protected memory. This is often an indicationnat other memory is corrupt.at I12CppInterop.Runtime.Injection. InjectorHelpers.hkGetlypelnfoFromlypeDefinitionIndex(Int32)at I12CppInterop.Runtime.Injection. InjectorHelpers.hkClassFromlame(I12CppInterop.Runtine.Runtime. I12CppImage*,IntPtiIntPtr)at I12CppInterop.Runtime.IL2CPP.i12cpp_class_from name(IntPtr, System. String, System. String)at I12CppInterop.Runtime.IL2CPP.GetI12CppClass(System. String, System String, System. String)at I12CppSystem Void..cctorat System Runtime.CompilerServices.RuntimeHelpers.assConstructor(System RuntimeTypeHandle)I12Cppmscorlib,Version=4.0.0.0,Culture=neutrat I12CppInterop.Runtime.I12CppClassPointerStorePublicKeyToken=nul1]J..cctor()at I12CppInterop.Funtime.Injection.ClassInjector.ConvertStaticllethod(VoidCtorDelegate, System. String, I12CppInterop.ntime.Runtime.VersionSpecific.Class.INativeClassStructat I120ppInterop.Runtime.Injection.ClassInjector.RegisterlypelnI120pp (System.Type, I12ppInterop.Runtime.Injection.Reisterlypelptionsat I12CppInterop.Funtime.Delegatesupport.ConvertDelegatellSystem. Canon, System. Private.Corelib, Version=6.0.0.0,Cture=neutral,PublicKeyToken=7cec85d7bea7798e]](System Delegate)at UnityEngine.Events.UnityAction 21lUnityngine. Scenellanagement. Scene, UnityEngine. Corellodule, Version=0.0.0.0,Cultrre=neutral,PublicKeyToken=nu11],IUnityEngine.Sceneanagement.LoadSceneode, UnityEngine.Corellodule, Version=0.0.0.0,(dlture-neutral,Publickeyloken-nul1)1.0p Implicit System. Action <(UnityEngine. Sceneanagement.Scene,UnityEngine. Scenelaragement.LoadScenellode>)MelonLoader.Support.SceneHandler.InitatatMelonLoader.Support.Main.Initialize(lelonLoader

Did you attach your log file?

Yes, I attached my log file to the text box above.

Latest.log

@RinLovesYou
Copy link
Member

Please upload the log file, don't just paste parts of it.

@yuanfeng-net
Copy link
Author

OK,I send the log file

@ejektaflex
Copy link

I also got this same issue, but it crashes without outputting the error into the log. It's the exact same read-write protected memory error trace.

@KryptoST
Copy link

I have the same problem, the registry is from version 0.6.1 but it also happens with 0.6.2
Latest.log

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

4 participants