Misaka-Mikoto-Tech/MonoHook

崩溃

woowloop opened this issue · 0 comments

unity 2021.3.x unity2022.3.x启动界面就崩溃 unity2020正常

Begin MonoManager ReloadAssembly
Native extension for UWP target not found
Native extension for WindowsStandalone target not found
Native extension for iOS target not found
Native extension for Android target not found
Refreshing native plugins compatible for Editor in 0.30 ms, found 0 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
flush_icache delegate is not null
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
MonoHook.HookUtils:SetupFlushICacheFunc () (at Assets/Scripts/UnityHook/HookUtils.cs:138)
MonoHook.HookUtils:.cctor () (at Assets/Scripts/UnityHook/HookUtils.cs:25)
MonoHook.MethodHook:DoInstall () (at Assets/Scripts/UnityHook/MethodHook.cs:164)
MonoHook.MethodHook:Install () (at Assets/Scripts/UnityHook/MethodHook.cs:135)
MonoHook.Test.BuildPipeline_StripDll_HookTest:InstallHook () (at Assets/Scripts/UnityHook/TestCase/Editor/BuildPipeline_StripDll_HookTest.cs:155)
MonoHook.Test.BuildPipeline_StripDll_HookTest:.cctor () (at Assets/Scripts/UnityHook/TestCase/Editor/BuildPipeline_StripDll_HookTest.cs:65)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])

(Filename: Assets/Scripts/UnityHook/HookUtils.cs Line: 138)

Original [PostprocessBuildPlayer.PostProcessCompletedBuild]: addr:0x191972a3c00

0x191972a3bf0: 01040205 04030150 00000000 00000000
0x191972a3c00: 55488bec 4881ec30 01000048 8975f848
0x191972a3c10: 898d10ff ffff49bb 18349f74 fb7f0000
0x191972a3c20: 4c895de8 49bb6833 9f74fb7f 00004c89
0x191972a3c30: 5df033f6 41bb0000 00004d85 db74074c
0x191972a3c40:
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
MonoHook.MethodHook:DoInstall () (at Assets/Scripts/UnityHook/MethodHook.cs:164)
MonoHook.MethodHook:Install () (at Assets/Scripts/UnityHook/MethodHook.cs:135)
MonoHook.Test.BuildPipeline_StripDll_HookTest:InstallHook () (at Assets/Scripts/UnityHook/TestCase/Editor/BuildPipeline_StripDll_HookTest.cs:155)
MonoHook.Test.BuildPipeline_StripDll_HookTest:.cctor () (at Assets/Scripts/UnityHook/TestCase/Editor/BuildPipeline_StripDll_HookTest.cs:65)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])

(Filename: Assets/Scripts/UnityHook/MethodHook.cs Line: 164)

Original [BuildPipeline_StripDll_HookTest.PostprocessBuildPlayer_CompleteBuild_Replace]: addr:0x191972a3fb0

0x191972a3fa0: 01040205 04030150 00000000 00000000
0x191972a3fb0: 55488bec 4881ecf0 01000048 8975f048
0x191972a3fc0: 897df848 898d38fe ffff49bb 18349f74
0x191972a3fd0: fb7f0000 4c895de0 49bb6833 9f74fb7f
0x191972a3fe0: 00004c89 5de841bb 00000000 4d85db74
0x191972a3ff0:
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
MonoHook.MethodHook:DoInstall () (at Assets/Scripts/UnityHook/MethodHook.cs:165)
MonoHook.MethodHook:Install () (at Assets/Scripts/UnityHook/MethodHook.cs:135)
MonoHook.Test.BuildPipeline_StripDll_HookTest:InstallHook () (at Assets/Scripts/UnityHook/TestCase/Editor/BuildPipeline_StripDll_HookTest.cs:155)
MonoHook.Test.BuildPipeline_StripDll_HookTest:.cctor () (at Assets/Scripts/UnityHook/TestCase/Editor/BuildPipeline_StripDll_HookTest.cs:65)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])

(Filename: Assets/Scripts/UnityHook/MethodHook.cs Line: 165)

Original [BuildPipeline_StripDll_HookTest.PostprocessBuildPlayer_CompleteBuild_Proxy]: addr:0x191972a4350

0x191972a4340: 30538e73 91010000 00000000 00000000
0x191972a4350: 55488bec 4883ec50 48894de0 49bb1834
0x191972a4360: 9f74fb7f 00004c89 5df049bb 68339f74
0x191972a4370: fb7f0000 4c895df8 c745e800 00000041
0x191972a4380: bb000000 004d85db 74074c8b 5df841ff
0x191972a4390:
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
MonoHook.MethodHook:DoInstall () (at Assets/Scripts/UnityHook/MethodHook.cs:167)
MonoHook.MethodHook:Install () (at Assets/Scripts/UnityHook/MethodHook.cs:135)
MonoHook.Test.BuildPipeline_StripDll_HookTest:InstallHook () (at Assets/Scripts/UnityHook/TestCase/Editor/BuildPipeline_StripDll_HookTest.cs:155)
MonoHook.Test.BuildPipeline_StripDll_HookTest:.cctor () (at Assets/Scripts/UnityHook/TestCase/Editor/BuildPipeline_StripDll_HookTest.cs:65)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])

(Filename: Assets/Scripts/UnityHook/MethodHook.cs Line: 167)

=================================================================
Native Crash Reporting

Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

=================================================================
Managed Stacktrace:

  at <unknown> <0xffffffff>
  at System.Object:wrapper_native_000001919B8C41C0 <0x0012c>
  at MonoHook.HookUtils:FlushICache <0x00111>
  at MonoHook.CodePatcher:FlushICache <0x00092>
  at MonoHook.CodePatcher:ApplyPatch <0x00162>
  at MonoHook.MethodHook:DoInstall <0x00e82>
  at MonoHook.MethodHook:Install <0x00162>
  at MonoHook.Test.BuildPipeline_StripDll_HookTest:InstallHook <0x0055a>
  at MonoHook.Test.BuildPipeline_StripDll_HookTest:.cctor <0x000d2>
  at System.Object:runtime_invoke_void <0x00184>
  at <unknown> <0xffffffff>
  at System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor <0x000c1>
  at System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor <0x0019a>
  at UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes <0x00602>
  at <Module>:runtime_invoke_void_object <0x0018a>

=================================================================
Received signal SIGSEGV
Obtained 2 stack frames
RtlLookupFunctionEntry returned NULL function. Aborting stack walk.