
[Bug]: Attempted to read or write protected memory when get Void's class.
DD-Mantodea opened this issue ยท 2 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.
The game will crash after it shows Class::Init signatures have been exhausted, using a substistute
. But after I use DnSpy to debug, i found that it's not the real problem, the real problem is that when Il2CppSystem.Void
class in Il2cppmscorlib.dll
tried to get Void
's class by IL2CPP.GetIl2CppClass
, it called the original il2cpp_class_from_name
method, then guided to original GetTypeInfoFromTypeDefinitionIndex
method, and it will have a 0xA23DF78C as index, then it will show Fatal error. System.AccessViolationException: Attempted to read or write protected memory.
Here are some of the information pics.
Did you attach your log file?
Yes, I attached my log file to the text box above.