Help! LGL Mod Menu: the Button crashes the game

Galaxy169

Platinian
For some reason, the Button on LGL Mod Menu always crash the game when used, I've tested it on different games and the same crash is happening on every games.
Changing Button to Toggle doesn't crash the game so the hook is correct.

The logcat indicated the game crashed due to loading too many resources at the same time which crashed the unity engine, resources could be big textures, audio or maybe codes.
I don't think 5 lines of hooking codes could overwhelm the unity engine considering the Toggle send 60 requests per second when used with the LateUpdate hook while the Button only send 5-10 requests. It also could be due to memory leaks.
The game crash after 2-3 second so if the Button is connected to hook which add 100 coins in the game, the coins get added during those 2-3 second.

Is anyone encountering the same problem as I? I will try using the Octowolve menu to see if it yields the same result.
 
Check whether you have used the void pointer correctly to the update method or whatever you are calling there, I also advise you not to use any code in the case because it causes difficulties
 
Back
Top Bottom