Well, because of#1451.7559c4e fixes the poor error handling.
**[11:11:14] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ... [11:11:14] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ... [11:11:14] [DEBUG] Initializing NativeMemory members... [11:11:15] [ERROR] Failed to initialize native memory members: System.AggregateException: 发生一个或多个错误。 ---> System.TypeInitializationException: “Ped”的类型初始值设定项引发异常。 ---> System.TypeInitializationException: “SHVDN.NativeMemory”的类型初始值设定项引发异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。 在 SHVDN.NativeMemory..cctor() --- 内部异常堆栈跟踪的结尾 --- 在 SHVDN.NativeMemory.GetGameVersion() 在 SHVDN.NativeMemory.Vehicle..cctor() --- 内部异常堆栈跟踪的结尾 --- 在 System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(RuntimeType type) 在 SHVDN.ScriptDomain.<>c.b__22_2() 在 System.Threading.Tasks.Task.Execute() --- 内部异常堆栈跟踪的结尾 --- 在 System.Threading.Tasks.Task.FastWaitAll(Task[] tasks) 在 System.Threading.Tasks.Parallel.Invoke(ParallelOptions parallelOptions, Action[] actions) 在 SHVDN.ScriptDomain.InitNativeNemoryMembers() 在 SHVDN.ScriptDomain.InitNativeNemoryMembers() 在 ?A0xfba3c4e0.ScriptHookVDotNet_ManagedInit() 位置 D:\a\scripthookvdotnet\scripthookvdotnet\source\core\DllMain.cpp:行号 538 ---> (内部异常 #0) System.TypeInitializationException: “Ped”的类型初始值设定项引发异常。 ---> System.TypeInitializationException: “SHVDN.NativeMemory”的类型初始值设定项引发异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。 在 SHVDN.NativeMemory..cctor() --- 内部异常堆栈跟踪的结尾 --- 在 SHVDN.NativeMemory.GetGameVersion() 在 SHVDN.NativeMemory.Vehicle..cctor() --- 内部异常堆栈跟踪的结尾 --- 在 System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(RuntimeType type) 在 SHVDN.ScriptDomain.<>c.b__22_2() 在 System.Threading.Tasks.Task.Execute()<--- ---> (内部异常#1) System.TypeInitializationException: “Vehicle”的类型初始值设定项引发异常。 ---> System.TypeInitializationException: “SHVDN.NativeMemory”的类型初始值设定项引发异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。 在 SHVDN.NativeMemory..cctor() --- 内部异常堆栈跟踪的结尾 --- 在 SHVDN.NativeMemory.GetGameVersion() 在 SHVDN.NativeMemory.Vehicle..cctor() --- 内部异常堆栈跟踪的结尾 --- 在 System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(RuntimeType type) 在 SHVDN.ScriptDomain.<>c.b__22_1() 在 System.Threading.Tasks.Task.Execute()<--- ---> (内部异常#2) System.TypeInitializationException: “SHVDN.NativeMemory”的类型初始值设定项引发异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。 在 SHVDN.NativeMemory..cctor() --- 内部异常堆栈跟踪的结尾 --- 在 SHVDN.NativeMemory.GetGameVersion() 在 SHVDN.NativeMemory.Vehicle..cctor()<--- [11:11:15] [DEBUG] Loading scripts from E:\SteamLibrary\steamapps\common\Grand Theft Auto V\scripts ... [11:11:15] [DEBUG] Loading assembly BennysOriginalMotorworks.dll ... [11:11:15] [INFO] Found 2 script(s) in BennysOriginalMotorworks.dll resolved to API version 2.11.6. [11:11:15] [DEBUG] Loading assembly INMNativeUI.dll ... [11:11:15] [INFO] Found 1 script(s) in INMNativeUI.dll resolved to API version 2.11.6. [11:11:15] [DEBUG] Loading assembly Metadata.dll ... [11:11:15] [INFO] Found 0 script(s) in Metadata.dll. [11:11:15] [WARNING] Found 2 script(s) resolved to the deprecated API version 2.x (ScriptHookVDotNet2.dll). The v2 API is no longer actively supported. Please report to the authors who developed some of the deprecated scripts. The list of script names: [11:11:15] [WARNING] BennysOriginalMotorworks.dll [11:11:15] [WARNING] INMNativeUI.dll [11:11:15] [DEBUG] Instantiating script BennysOriginalMotorworks.Bennys ...** the log of crashing I have installed the nightly version.88 i don't know why and i have installed some cars mods |