MelonLoader

MelonLoader

242 Downloads

[Bug]: Can't use AddComponent in IL2CPP

cudadotsln opened this issue ยท 2 comments

commented

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.

Hello! I have recently been getting a bug whenever I use IL2CPP. Whenever I use AddComponent, it gives no errors in visual studio, but gives me an error in the console, and won't add the component. (THE BLURRED PARTS DONT NEED TO BE WORRIED ABOUT)
(errors loop bc i put a check in update)
image
Latest.log

Did you attach your log file?

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

commented

Please use wiki. You need to register class with ClassInjector

commented

Works now! Thank you :)