[Mod开发求助] Unity Mod Manager错误
本帖最后由 weitianhan 于 2020-8-2 15:22 编辑mod区的大佬们 救救孩子吧 想自己写一些小众unity游戏的mod 但是实在不会debug UMM的错误 请大佬们帮忙看看
这个UMM在log里扔出来的错误 我实在是无能为力 我唯一能确定的是好像连我写的mod的Load方法都还没进去就出错了 因为我写在Load的里的log都没有出现
完整log我直接贴上来吧也
Initialize engine version: 2018.4.22f1 (3362ffbb7aa1)
GfxDevice: creating device client; threaded=1
Direct3D:
Version:Direct3D 11.0
Renderer: NVIDIA GeForce RTX 2080 (ID=0x1ed0)
Vendor: (null)
VRAM: 3072 MB
Driver: 26.21.14.4259
Begin MonoManager ReloadAssembly
- Completed reload, in0.167 seconds
<RI> Initializing input.
<RI> Input initialized.
<RI> Initialized touch support.
UnloadTime: 0.280500 ms
System.NullReferenceException: Object reference not set to an instance of an object
at GameDataEditor.GDEDataManager.LocalizeUpdate (System.String Key, System.String ValueName, System.Collections.Generic.Dictionary`2 LocalizeText) in <filename unknown>:0
at GameDataEditor.GDEDataManager.BuildDataKeysBySchemaList () in <filename unknown>:0
at GameDataEditor.GDEDataManager.InitFromText (System.String dataString) in <filename unknown>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
Load2
Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
Unloading 6 unused Assets to reduce memory usage. Loaded Objects now: 6388.
Total: 13.859000 ms (FindLiveObjects: 0.243200 ms CreateObjectMapping: 0.077200 ms MarkObjects: 13.524100 msDeleteObjects: 0.014200 ms)
No Playlist Controllers exist in the Scene. Music will not play.
Setting
MaximizedWindow is not currently supported on Windows, setting to FullsceenWindow instead
(Filename:Line: 295)
Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 1.690000 ms
More than one Master Audio prefab exists in this Scene. Destroying the newer one called 'SoundManager'. You may wish to set up a Bootstrapper Scene so this does not occur.
Injection...
Initialize.
Version: '0.17.0.0'.
OS: Microsoft Windows NT 10.0.18363.0 x86.
Game: 超时空方舟(Chrono Ark).
Parsing mods.
Reading file 'C:\Program Files (x86)\Steam\steamapps\common\Chrono Ark\Mods\doubledamage\Info.json'.
Sorting mods.
Loading mods.
To skip (disabled).
FINISH. SUCCESSFUL LOADED 1/1 MODS.
Checking for updates.
No network connection or firewall blocked.
Unloading 56 unused Assets to reduce memory usage. Loaded Objects now: 6370.
Total: 15.470100 ms (FindLiveObjects: 0.293700 ms CreateObjectMapping: 0.096200 ms MarkObjects: 14.978900 msDeleteObjects: 0.100800 ms)
Unloading 2 Unused Serialized files (Serialized files now loaded: 0)
Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 6370.
Total: 15.181500 ms (FindLiveObjects: 0.280000 ms CreateObjectMapping: 0.079800 ms MarkObjects: 14.812700 msDeleteObjects: 0.008700 ms)
版本'1.0.0'. Loading.
[错误] 加载'C:\Program Files (x86)\Steam\steamapps\common\Chrono Ark\Mods\doubledamage\doubledamage.dll'时出错.
[其他] ReflectionTypeLoadException - The classes in the module cannot be loaded.
System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
at System.Reflection.Assembly.GetTypes () in <filename unknown>:0
at UnityModManagerNet.UnityModManager+ModEntry.Load () in <filename unknown>:0
Loading time 0.01 s.
页:
[1]