Timberborn-Modding-Central / TimberAPI

The one and only
https://timberapi.com
GNU General Public License v3.0
32 stars 18 forks source link

error I dont know what is causing this #99

Closed TheGuardianTim closed 1 month ago

TheGuardianTim commented 3 months ago

Mono path[0] = 'E:/SteamLibrary/steamapps/common/Timberborn/Timberborn_Data/Managed' Mono config path = 'E:/SteamLibrary/steamapps/common/Timberborn/MonoBleedingEdge/etc' Fallback handler could not load library E:/SteamLibrary/steamapps/common/Timberborn/Timberborn_Data/MonoBleedingEdge/data-00000265A0785FF0.dll Fallback handler could not load library E:/SteamLibrary/steamapps/common/Timberborn/Timberborn_Data/MonoBleedingEdge/data-00000265A6C4B040.dll [Physics::Module] Initialized MultithreadedJobDispatcher with 15 workers. Initialize engine version: 2023.1.20f1 (35a524b12060) [Subsystems] Discovering subsystems at path E:/SteamLibrary/steamapps/common/Timberborn/Timberborn_Data/UnitySubsystems Split Graphics Jobs are not supported on Direct3D 11. Reverting to Native Graphics Jobs instead. GfxDevice: creating device client; threaded=1; jobified=1 Direct3D: Version: Direct3D 11.0 [level 11.1] Renderer: NVIDIA GeForce GTX 1660 SUPER (ID=0x21c4) Vendor: NVIDIA VRAM: 5992 MB Driver: 30.0.15.1252 Begin MonoManager ReloadAssembly

Unloading 7 Unused Serialized files (Serialized files now loaded: 2) UnloadTime: 3.761500 ms [Info :Mod Manager UI] Loaded 34 custom labels [Info : TimberAPI] Loaded 0 custom labels Creating an error report: C:\Users\timot\OneDrive\Documents\Timberborn\Error reports\error-report-2024-04-06-14h37m07s.zip

here is the other log if needed

v0.5.9.1-33dabbc-sw NullReferenceException: Object reference not set to an instance of an object ModManagerUI.Components.ModFullInfo.DownloadButton.Refresh () (at :0) ModManagerUI.Components.ModFullInfo.DownloadButton.Download () (at :0) System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) (at :0) UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at :0) UnityEngine.UnitySynchronizationContext.Exec () (at :0) UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at :0)

TheGuardianTim commented 3 months ago

I tried removing every mod and installing every mod still a simular result, here is what the console says [Error : Unity Log] TypeLoadException: Could not load type Timberborn.Options.OptionsBox, Timberborn.Options, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null while decoding custom attribute: (null) Stack trace: System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) (at :0) System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) (at :0) System.RuntimeType.GetCustomAttributes (System.Boolean inherit) (at :0) HarmonyLib.HarmonyMethodExtensions.GetFromType (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.PatchClassProcessor..ctor (HarmonyLib.Harmony instance, System.Type type, System.Boolean allowUnannotatedType) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.PatchClassProcessor..ctor (HarmonyLib.Harmony instance, System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.CreateClassProcessor (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.b__11_0 (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.PatchAll () (at <474744d65d8e460fa08cd5fd82b5d65f>:0) TB_CameraTweaker.KsHelperLib.Patches.PatchLoader.DoPatchAll () (at <85b1c0f26fba48dfb3c55ac99d28a3d5>:0) TB_CameraTweaker.KsHelperLib.Patches.PatchLoader.Load () (at <85b1c0f26fba48dfb3c55ac99d28a3d5>:0) (wrapper dynamic-method) Timberborn.SingletonSystem.SingletonLifecycleService.DMD(Timberborn.SingletonSystem.SingletonLifecycleService) (wrapper dynamic-method) Timberborn.SingletonSystem.SingletonLifecycleService.DMD(Timberborn.SingletonSystem.SingletonLifecycleService) Timberborn.SingletonSystem.SingletonLifecycleAdapter.Start () (at <0e3e6ee2836245889b8990ec366615c3>:0)

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: Timberborn.GameSaveRepositorySystemUI.SaveThumbnailCache.Clear () (at <25400e25dfbe4e5fb25ed950e8174aa7>:0) Timberborn.GameSaveRepositorySystemUI.SaveThumbnailCache.Unload () (at <25400e25dfbe4e5fb25ed950e8174aa7>:0) Timberborn.SingletonSystem.SingletonLifecycleService.UnloadSingletons () (at <0e3e6ee2836245889b8990ec366615c3>:0) Timberborn.SingletonSystem.SingletonLifecycleService.UnloadAll () (at <0e3e6ee2836245889b8990ec366615c3>:0) Timberborn.SingletonSystem.SingletonLifecycleAdapter.OnDestroy () (at <0e3e6ee2836245889b8990ec366615c3>:0)

KYPremco commented 2 months ago

Likely not an issue with TimberAPI but mod manager, which does not use TimberAPI as a dependency. In need for active help setting up a modding enviroment to play on ask on the Timberborn discord.