Code Monkey home page Code Monkey logo

Comments (11)

BNM-Dev avatar BNM-Dev commented on June 3, 2024

For now I can't provide any fix. I don't know why but there is one strange crash appearing when using NewClasses or ModifyClasses. Maybe due to some sneaky memory leak, or other threads related thing. I trying to find it, but no results for now.

from bnm-android.

BNM-Dev avatar BNM-Dev commented on June 3, 2024

Try version 1.3. Maybe this will fix issue.

from bnm-android.

solomode0001 avatar solomode0001 commented on June 3, 2024

Yes, I have tested it with BNM version 1.3 and it worked for NewClasses, but ModifyClasses still crashes on Unity versions below 2021 while Versions 2021 and above work fine. I hope you will fix this for ModifyClasses in the future. Please take care of your health, and thank you for your hard work on this project.

Game Tested Unity Version ModifyClasses NewClasses arm64-v8a armeabi-v7a
Aku Si Juragan Empang 2022.3.2f1 Working Working Working Working
Dead Target 2021.3.9f1 Working Working Working Working
Stick War: Legacy 2020.3.47f1 Crash Working Working Working
Dead Trigger 2019.4.38f1 Crash Working Working Working

from bnm-android.

BNM-Dev avatar BNM-Dev commented on June 3, 2024

Can you provide crash logs?

from bnm-android.

solomode0001 avatar solomode0001 commented on June 3, 2024

The application crashes when using ModifyClasses while NewClasses works fine. The crash occurs when the class is called or loaded, or in my case, it crashes when entering the game when the player spawns

[SetupBNM] il2cpp::vm::Class::Init in lib: 0x556604.
[SetupBNM] code has il2cpp_image_get_class. BNM will use it.
[SetupBNM] il2cpp::vm::Class::FromIl2CppType in lib: 0x5588a4.
[SetupBNM] il2cpp::vm::Type::GetClassOrElementClass in lib: 0x571f1c.
[SetupBNM] il2cpp::vm::Image::FromName in lib: 0x55bdcc.
[SetupBNM] il2cpp::vm::Assembly::GetAllAssemblies using domain in lib: 0x556728.
Method: [System.Reflection]::[RuntimeMethodInfo].[MakeGenericMethod_impl], -1 - not found.
[InitNewClasses] Added new class (0x7fb8836f5180) [ModMenu]::[NewClassTest], parent is - [UnityEngine]::[MonoBehaviour], to [Assembly-CSharp.dll].
[ModifyClasses] Added method Update 0 to [Assembly-CSharp.dll]::[]::[AgentHuman].
[ModifyClasses] Class [Assembly-CSharp.dll]::[]::[AgentHuman] successfully changed.


### ### ### ### ### ### ### ### ### ### ### ### ###
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Version '2019.4.40f1 (ffc62b691db5)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
Build fingerprint: 'OPPO/OPPO/PCRT00:9/mv-dev103041042:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2023-11-30 22:23:35+0800
pid: 2704, tid: 2747, name: UnityMain  >>> com.madfingergames.deadtrigger <<<
uid: 10059
signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
    x0  00007fb88a276e70  x1  0000000000000000  x2  0000000000000060  x3  00007fb88a276e70
    x4  0000000000000000  x5  00007fb8007fb1c0  x6  0000000007b6f650  x7  0000000000000000
    x8  000000000563933c  x9  00007fb7b8ff48b0  x10 00007fb800f08e70  x11 0000000000000000
    x12 00007fb8202f2910  x13 00007fb8202ea650  x14 00007fb800f08d00  x15 00007fb8001a4590
    x16 0000000000000038  x17 00007fb8015e2368  x18 0000000000000001  x19 00007fb88a276f40
    x20 00007fb7b8ff48c0  x21 00007fb884393e40  x22 00007fb88a276e10  x23 0000000000000000
    x24 0000000000000000  x25 0000000000000000  x26 0000000000000000  x27 0000000000000000
    x28 0000000000000000  x29 0000000000000000
    sp  00007fb88a276d80  lr  000000000740c844  pc  0000000005639344

backtrace:
      #00 pc 0000000000535344  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libil2cpp.so (il2cpp_runtime_invoke+8) (BuildId: 9a6f669c41c23ae406759297ea367eb96ce30832)
      #01 pc 0000000000308840  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #02 pc 000000000030c1ec  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #03 pc 000000000031f6e4  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #04 pc 00000000001e62c0  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #05 pc 000000000027a7b0  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #06 pc 000000000027a7e4  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #07 pc 000000000027aa28  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #08 pc 00000000003814a4  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #09 pc 0000000000394f54  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #10 pc 000000000010535c  /system/lib64/arm64/nb/libtcb.so
Background concurrent copying GC freed 28519(2MB) AllocSpace objects, 43(4MB) LOS objects, 50% free, 10MB/21MB, paused 52us total 114.356ms
Tombstone written to: /storage/emulated/0/Android/data/com.madfingergames.deadtrigger/files/tombstone_01
FATAL EXCEPTION: UnityMain
Process: com.madfingergames.deadtrigger, PID: 2704
java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Version '2019.4.40f1 (ffc62b691db5)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
Build fingerprint: 'OPPO/OPPO/PCRT00:9/mv-dev103041042:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2023-11-30 22:23:35+0800
pid: 2704, tid: 2747, name: UnityMain  >>> com.madfingergames.deadtrigger <<<
uid: 10059
signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
    x0  00007fb88a276e70  x1  0000000000000000  x2  0000000000000060  x3  00007fb88a276e70
    x4  0000000000000000  x5  00007fb8007fb1c0  x6  0000000007b6f650  x7  0000000000000000
    x8  000000000563933c  x9  00007fb7b8ff48b0  x10 00007fb800f08e70  x11 0000000000000000
    x12 00007fb8202f2910  x13 00007fb8202ea650  x14 00007fb800f08d00  x15 00007fb8001a4590
    x16 0000000000000038  x17 00007fb8015e2368  x18 0000000000000001  x19 00007fb88a276f40
    x20 00007fb7b8ff48c0  x21 00007fb884393e40  x22 00007fb88a276e10  x23 0000000000000000
    x24 0000000000000000  x25 0000000000000000  x26 0000000000000000  x27 0000000000000000
    x28 0000000000000000  x29 0000000000000000
    sp  00007fb88a276d80  lr  000000000740c844  pc  0000000005639344

backtrace:
      #00 pc 0000000000535344  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libil2cpp.so (il2cpp_runtime_invoke+8) (BuildId: 9a6f669c41c23ae406759297ea367eb96ce30832)
      #01 pc 0000000000308840  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #02 pc 000000000030c1ec  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #03 pc 000000000031f6e4  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #04 pc 00000000001e62c0  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #05 pc 000000000027a7b0  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #06 pc 000000000027a7e4  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #07 pc 000000000027aa28  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #08 pc 00000000003814a4  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #09 pc 0000000000394f54  /data/app/com.madfingergames.deadtrigger-f5scUvFzWwED4yaOHoF7eg==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #10 pc 000000000010535c  /system/lib64/arm64/nb/libtcb.so

	at libil2cpp.il2cpp_runtime_invoke(il2cpp_runtime_invoke:8)
	at libunity.0x308840(Native Method)
	at libunity.0x30c1ec(Native Method)
	at libunity.0x31f6e4(Native Method)
	at libunity.0x1e62c0(Native Method)
	at libunity.0x27a7b0(Native Method)
	at libunity.0x27a7e4(Native Method)
	at libunity.0x27aa28(Native Method)
	at libunity.0x3814a4(Native Method)
	at libunity.0x394f54(Native Method)
	at libtcb.0x10535c(Native Method)


[tombstone_00.txt](https://github.com/ByNameModding/BNM-Android/files/13514302/tombstone_00.txt)

from bnm-android.

BNM-Dev avatar BNM-Dev commented on June 3, 2024

Try add this to BNM.cpp:

#if UNITY_VER > 174
#define kls klass
#else
#define kls declaring_type
#endif
                    method->myInfo->kls = klass;
#undef kls

After line method->myInfo = NewOrModTypes_Internal::CreateMethod(info); 1516.

from bnm-android.

solomode0001 avatar solomode0001 commented on June 3, 2024

It's finally done! You've finally resolved all of these problems. Thank you so much for your hard work, sir.

Game Tested Unity Version ModifyClasses NewClasses arm64-v8a armeabi-v7a
Aku Si Juragan Empang 2022.3.2f1 Working Working Working Working
Dead Target 2021.3.9f1 Working Working Working Working
Stick War: Legacy 2020.3.47f1 Working Working Working Working
Dead Trigger 2019.4.38f1 Working Working Working Working

Dead Trigger 2019.4.38f1 Logs

19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  [SetupBNM] il2cpp::vm::Class::Init in lib: 0x556604.
19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  [SetupBNM] code has il2cpp_image_get_class. BNM will use it.
19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  [SetupBNM] il2cpp::vm::Class::FromIl2CppType in lib: 0x5588a4.
19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  [SetupBNM] il2cpp::vm::Type::GetClassOrElementClass in lib: 0x571f1c.
19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  [SetupBNM] il2cpp::vm::Image::FromName in lib: 0x55bdcc.
19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  [SetupBNM] il2cpp::vm::Assembly::GetAllAssemblies using domain in lib: 0x556728.
19124-19166 ByNameModding  com.madfingergames.deadtrigger  W  Method: [System.Reflection]::[RuntimeMethodInfo].[MakeGenericMethod_impl], -1 - not found.
19124-19166 ByNameModding  com.madfingergames.deadtrigger  I  [InitNewClasses] Added new class (0x7f634d8eb080) [ModMenu]::[NewClassTest], parent is - [UnityEngine]::[MonoBehaviour], to [Assembly-CSharp.dll].
19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  [ModifyClasses] Added method Update 0 to [Assembly-CSharp.dll]::[]::[AgentHuman].
19124-19166 ByNameModding  com.madfingergames.deadtrigger  I  [ModifyClasses] Class [Assembly-CSharp.dll]::[]::[AgentHuman] successfully changed.
19124-19210 ByNameModding  com.madfingergames.deadtrigger  D  Call Awake NewClassTest: 0x7f6341e95500
19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  Call Update AgentHuman: 0x7f6342c8d8c0
19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  Call Update AgentHuman: 0x7f6342c8d8c0
19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  Call Update AgentHuman: 0x7f6342c8d8c0
19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  Call Update AgentHuman: 0x7f6342c8d8c0
19124-19166 ByNameModding  com.madfingergames.deadtrigger  D  Call Update AgentHuman: 0x7f6342c8d8c0

Stick War: Legacy 2020.3.47f1 Logs

17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  [SetupBNM] il2cpp::vm::Class::Init in lib: 0x5f8898.
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  [SetupBNM] code has il2cpp_image_get_class. BNM will use it.
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  [SetupBNM] il2cpp::vm::Class::FromIl2CppType in lib: 0x5fabd4.
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  [SetupBNM] il2cpp::vm::Type::GetClassOrElementClass in lib: 0x617780.
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  [SetupBNM] il2cpp::vm::Image::FromName in lib: 0x5fe8e8.
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  [SetupBNM] il2cpp::vm::Assembly::GetAllAssemblies using domain in lib: 0x5f8a58.
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  W  Method: [System.Reflection]::[RuntimeMethodInfo].[MakeGenericMethod_impl], -1 - not found.
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  I  [InitNewClasses] Added new class (0x7fbd981d9380) [ModMenu]::[NewClassTest], parent is - [UnityEngine]::[MonoBehaviour], to [Assembly-CSharp.dll].
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  [ModifyClasses] Added method LateUpdate 0 to [Assembly-CSharp.dll]::[StickWar.Game]::[GameController].
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  I  [ModifyClasses] Class [Assembly-CSharp.dll]::[StickWar.Game]::[GameController] successfully changed.
17413-17480 ByNameModding  com.maxgames.stickwarlegacy  D  Call Awake NewClassTest: 0x7fbd91651720
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  Call LateUpdate GameController: 0x7fbd9924ba20
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  Call LateUpdate GameController: 0x7fbd9924ba20
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  Call LateUpdate GameController: 0x7fbd9924ba20
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  Call LateUpdate GameController: 0x7fbd9924ba20
17413-17460 ByNameModding  com.maxgames.stickwarlegacy  D  Call LateUpdate GameController: 0x7fbd9924ba20

Dead Target 2021.3.9f1 Logs

19176-19300 ByNameModding  com.vng.g6.a.zombie  D  [SetupBNM] il2cpp::vm::Class::Init in lib: 0xcce06c.
19176-19300 ByNameModding  com.vng.g6.a.zombie  D  [SetupBNM] code has il2cpp_image_get_class. BNM will use it.
19176-19300 ByNameModding  com.vng.g6.a.zombie  D  [SetupBNM] il2cpp::vm::Class::FromIl2CppType in lib: 0xccdb44.
19176-19300 ByNameModding  com.vng.g6.a.zombie  D  [SetupBNM] il2cpp::vm::Type::GetClassOrElementClass in lib: 0xd30ad0.
19176-19300 ByNameModding  com.vng.g6.a.zombie  D  [SetupBNM] il2cpp::vm::Image::FromName in lib: 0xd2cd00.
19176-19300 ByNameModding  com.vng.g6.a.zombie  D  [SetupBNM] il2cpp::vm::Assembly::GetAllAssemblies using domain in lib: 0xd55758.
19176-19300 ByNameModding  com.vng.g6.a.zombie  I  [InitNewClasses] Added new class (0x7fbd94771280) [ModMenu]::[NewClassTest], parent is - [UnityEngine]::[MonoBehaviour], to [Assembly-CSharp.dll].
19176-19300 ByNameModding  com.vng.g6.a.zombie  D  [ModifyClasses] Added method LateUpdate 0 to [Assembly-CSharp.dll]::[DProject]::[PlayerController].
19176-19300 ByNameModding  com.vng.g6.a.zombie  I  [ModifyClasses] Class [Assembly-CSharp.dll]::[DProject]::[PlayerController] successfully changed.
19176-19355 ByNameModding  com.vng.g6.a.zombie  D  Call Awake NewClassTest: 0x7fbc98114d80
19176-19300 ByNameModding  com.vng.g6.a.zombie  D  Call LateUpdate PlayerController: 0x7fbc4b479000
19176-19300 ByNameModding  com.vng.g6.a.zombie  D  Call LateUpdate PlayerController: 0x7fbc4b479000
19176-19300 ByNameModding  com.vng.g6.a.zombie  D  Call LateUpdate PlayerController: 0x7fbc4b479000
19176-19300 ByNameModding  com.vng.g6.a.zombie  D  Call LateUpdate PlayerController: 0x7fbc4b479000
19176-19300 ByNameModding  com.vng.g6.a.zombie  D  Call LateUpdate PlayerController: 0x7fbc4b479000

Aku Si Juragan Empang 2022.3.2f1 Logs

21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  [SetupBNM] il2cpp::vm::Class::Init in lib: 0x18016ec.
21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  [SetupBNM] code has il2cpp_image_get_class. BNM will use it.
21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  [SetupBNM] il2cpp::vm::Class::FromIl2CppType in lib: 0x180124c.
21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  [SetupBNM] il2cpp::vm::Type::GetClassOrElementClass in lib: 0x17ed8a0.
21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  [SetupBNM] il2cpp::vm::Image::FromName in lib: 0x17ea0d0.
21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  [SetupBNM] il2cpp::vm::Assembly::GetAllAssemblies using domain in lib: 0x181c910.
21104-21162 ByNameModding  com.TrimatraKajew.Empang  I  [InitNewClasses] Added new class (0x7fbd99e41c00) [ModMenu]::[NewClassTest], parent is - [UnityEngine]::[MonoBehaviour], to [Assembly-CSharp.dll].
21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  [ModifyClasses] Added method LateUpdate 0 to [Assembly-CSharp.dll]::[]::[PlayerController].
21104-21162 ByNameModding  com.TrimatraKajew.Empang  I  [ModifyClasses] Class [Assembly-CSharp.dll]::[]::[PlayerController] successfully changed.
21104-21174 ByNameModding  com.TrimatraKajew.Empang  D  Call Awake NewClassTest: 0x7fbd90a7d700
21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  Call LateUpdate PlayerController: 0x7fbc85f6fbb0
21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  Call LateUpdate PlayerController: 0x7fbc85f6fbb0
21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  Call LateUpdate PlayerController: 0x7fbc85f6fbb0
21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  Call LateUpdate PlayerController: 0x7fbc85f6fbb0
21104-21162 ByNameModding  com.TrimatraKajew.Empang  D  Call LateUpdate PlayerController: 0x7fbc85f6fbb0

from bnm-android.

BNM-Dev avatar BNM-Dev commented on June 3, 2024

I will add this fix to v1.4 and will fix Method: [System.Reflection]::[RuntimeMethodInfo].[MakeGenericMethod_impl], -1 - not found.

from bnm-android.

solomode0001 avatar solomode0001 commented on June 3, 2024

I apologize, sir, but unfortunately all applications crash in BNM version 1.4 and I am sure the cause is this code

// Get MakeGenericMethod_impl. Depending on Unity version, it may be in different classes.
auto runtimeMethodInfoClassPtr = TryGetClassInImage(mscorlib, OBFUSCATE_BNM("System.Reflection"), OBFUSCATE_BNM("RuntimeMethodInfo"));
vmData.RuntimeMethodInfo$$MakeGenericMethod_impl = BNM::MethodBase(IterateMethods(runtimeMethodInfoClassPtr, [](const MethodBase &methodBase) {
    return !strcmp(methodBase.myInfo->name, OBFUSCATE_BNM("MakeGenericMethod_impl"));
}));
if (!vmData.RuntimeMethodInfo$$MakeGenericMethod_impl)
    vmData.RuntimeMethodInfo$$MakeGenericMethod_impl = LoadClass(OBFUSCATE_BNM("System.Reflection"), OBFUSCATE_BNM("MonoMethod"), mscorlib).GetMethodByName(OBFUSCATE_BNM("MakeGenericMethod_impl"));

and this is the log

[SetupBNM] il2cpp::vm::Class::Init in lib: 0x556604.
[SetupBNM] code has il2cpp_image_get_class. BNM will use it.
[SetupBNM] il2cpp::vm::Class::FromIl2CppType in lib: 0x5588a4.
[SetupBNM] il2cpp::vm::Type::GetClassOrElementClass in lib: 0x571f1c.
[SetupBNM] il2cpp::vm::Image::FromName in lib: 0x55bdcc.
[SetupBNM] il2cpp::vm::Assembly::GetAllAssemblies using domain in lib: 0x556728.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Version '2019.4.40f1 (ffc62b691db5)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
Build fingerprint: 'OPPO/OPPO/PCRT00:9/mv-dev103041042:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2023-12-01 23:22:58+0800
pid: 13914, tid: 13958, name: UnityMain  >>> com.madfingergames.deadtrigger <<<
uid: 10059
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
    x0  00007fa008dbb800  x1  00007fa00883b1dd  x2  0000000000000011  x3  00007fa00a96fdec
    x4  000000000b931222  x5  000000007fffffff  x6  0000000000000002  x7  0000000000000030
    x8  0000000000000000  x9  afb87a6fb560944c  x10 0000000000000038  x11 0000000000000012
    x12 00000000000005b7  x13 0000000000000050  x14 0000000000000000  x15 00007fa00a96f838
    x16 000000000b535148  x17 000000000b85e650  x18 0000000000000001  x19 00007fa020bf5000
    x20 000000000b48b847  x21 000000000b544000  x22 00007fa008dbb800  x23 00007fa00aa77588
    x24 000000000b544000  x25 000000000b544000  x26 000000000b544000  x27 000000000b48c136
    x28 0000000000000000  x29 00007fa00a96ffb0
    sp  00007fa00a96ff30  lr  000000000b4b6884  pc  000000000b4b68ac

backtrace:
      #00 pc 00000000000768ac  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libmain.so (BuildId: 2c3c9eab417302f5bc8ed3b9b864be4146ba38b2)
      #01 pc 0000000000079b24  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libmain.so (BuildId: 2c3c9eab417302f5bc8ed3b9b864be4146ba38b2)
      #02 pc 00000000003106ac  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #03 pc 000000000037f6b0  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #04 pc 0000000000381270  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #05 pc 0000000000394f54  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #06 pc 000000000010535c  /system/lib64/arm64/nb/libtcb.so
--------- beginning of crash
Tombstone written to: /storage/emulated/0/Android/data/com.madfingergames.deadtrigger/files/tombstone_00
FATAL EXCEPTION: UnityMain
Process: com.madfingergames.deadtrigger, PID: 13914
java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Version '2019.4.40f1 (ffc62b691db5)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
Build fingerprint: 'OPPO/OPPO/PCRT00:9/mv-dev103041042:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2023-12-01 23:22:58+0800
pid: 13914, tid: 13958, name: UnityMain  >>> com.madfingergames.deadtrigger <<<
uid: 10059
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
    x0  00007fa008dbb800  x1  00007fa00883b1dd  x2  0000000000000011  x3  00007fa00a96fdec
    x4  000000000b931222  x5  000000007fffffff  x6  0000000000000002  x7  0000000000000030
    x8  0000000000000000  x9  afb87a6fb560944c  x10 0000000000000038  x11 0000000000000012
    x12 00000000000005b7  x13 0000000000000050  x14 0000000000000000  x15 00007fa00a96f838
    x16 000000000b535148  x17 000000000b85e650  x18 0000000000000001  x19 00007fa020bf5000
    x20 000000000b48b847  x21 000000000b544000  x22 00007fa008dbb800  x23 00007fa00aa77588
    x24 000000000b544000  x25 000000000b544000  x26 000000000b544000  x27 000000000b48c136
    x28 0000000000000000  x29 00007fa00a96ffb0
    sp  00007fa00a96ff30  lr  000000000b4b6884  pc  000000000b4b68ac

backtrace:
      #00 pc 00000000000768ac  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libmain.so (BuildId: 2c3c9eab417302f5bc8ed3b9b864be4146ba38b2)
      #01 pc 0000000000079b24  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libmain.so (BuildId: 2c3c9eab417302f5bc8ed3b9b864be4146ba38b2)
      #02 pc 00000000003106ac  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #03 pc 000000000037f6b0  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #04 pc 0000000000381270  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #05 pc 0000000000394f54  /data/app/com.madfingergames.deadtrigger-bJSBLvgR8yMUYyqGjl1i1A==/lib/arm64/libunity.so (BuildId: 62c2b1208b408451a693362dab13ae287568fc7d)
      #06 pc 000000000010535c  /system/lib64/arm64/nb/libtcb.so

	at libmain.0x768ac(Native Method)
	at libmain.0x79b24(Native Method)
	at libunity.0x3106ac(Native Method)
	at libunity.0x37f6b0(Native Method)
	at libunity.0x381270(Native Method)
	at libunity.0x394f54(Native Method)
	at libtcb.0x10535c(Native Method)

Please check and fix this issue as soon as possible. Thank you for your hard work and dedication

from bnm-android.

BNM-Dev avatar BNM-Dev commented on June 3, 2024

I amended commit, try it.

from bnm-android.

solomode0001 avatar solomode0001 commented on June 3, 2024

Congratulations, you have nailed it! You have resolved all the problems and this is the best version of BNM yet. I can’t wait to see more new features that are amazing and thrilling. Stay healthy and thank you very much for your dedication to this project. Kudos to BYNAMEMODDING! 😊

from bnm-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.